3 # This is a make+ file. Make+ is a set of scripts which enhance GNU
4 # make and let you build RPMs, and other package types with just one
5 # control file. To build this package you will need to download make+
6 # from this site: http://www.annexia.org/freeware/makeplus/
11 VERSION := $(VERSION_MAJOR).$(VERSION_MINOR)
13 SUMMARY := Simple documentation tool for C programs and libraries.
15 AUTHOR := Richard W.M. Jones <rich@annexia.org>
18 cdoc is a simple documentation tool for C programs and libraries. It
19 takes inline embedded comments and turns them into manual pages. It
24 RPM_GROUP := Development/Building
37 install -d $(DESTDIR)$(bindir)
38 install -m 0755 $(srcdir)/cdoc $(DESTDIR)$(bindir)
41 <% include page_header.msp %>
43 <h1>cdoc - $(SUMMARY)</h1>
52 <li> <a href="$(PACKAGE)-$(VERSION).tar.gz">$(PACKAGE)-$(VERSION).tar.gz</a>
53 <li> <a href="$(PACKAGE)-$(VERSION)-1.i386.rpm">$(PACKAGE)-$(VERSION)-1.i386.rpm</a>
54 <li> <a href="$(PACKAGE)-$(VERSION)-1.src.rpm">$(PACKAGE)-$(VERSION)-1.src.rpm</a>
55 <li> <a href="$(PACKAGE)-$(VERSION).bin.tar.gz">$(PACKAGE)-$(VERSION).bin.tar.gz</a>
58 <% include page_footer.msp %>
62 scp $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION)-1.*.rpm \
63 $(PACKAGE)-$(VERSION).bin.tar.gz \
64 10.0.0.248:annexia.org/freeware/$(PACKAGE)/
66 10.0.0.248:annexia.org/freeware/$(PACKAGE)/index.msp
68 .PHONY: build configure test upload_website