=================================================================== RCS file: /cvs/docbook2mdoc/Makefile,v retrieving revision 1.10 retrieving revision 1.11 diff -u -p -r1.10 -r1.11 --- docbook2mdoc/Makefile 2014/04/02 07:55:26 1.10 +++ docbook2mdoc/Makefile 2014/04/02 12:27:05 1.11 @@ -1,16 +1,15 @@ -VERSION = 0.0.6 +VERSION = 0.0.7 CFLAGS += -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings -BUILT = printf.html iovec.html ls.html as.html WWWPREFIX = /usr/vhosts/mdocml.bsd.lv/www/htdocs/docbook2mdoc docbook2mdoc: docbook2mdoc.o rules.o $(CC) -o $@ docbook2mdoc.o rules.o -lexpat -www: index.html docbook2mdoc.1.html docbook2mdoc-$(VERSION).tgz $(BUILT) +www: index.html docbook2mdoc.1.html docbook2mdoc-$(VERSION).tgz README.txt installwww: www mkdir -p $(WWWPREFIX)/snapshots - install -m 0444 index.html docbook2mdoc.1.html $(BUILT) $(WWWPREFIX) + install -m 0444 index.html docbook2mdoc.1.html README.txt $(WWWPREFIX) install -m 0444 docbook2mdoc-$(VERSION).tgz $(WWWPREFIX)/snapshots install -m 0444 docbook2mdoc-$(VERSION).tgz $(WWWPREFIX)/snapshots/docbook2mdoc.tgz @@ -30,21 +29,10 @@ index.html: index.xml docbook2mdoc.1.html: docbook2mdoc.1 mandoc -Thtml docbook2mdoc.1 >$@ -printf.html: - ./docbook2mdoc printf.xml | mandoc -Thtml > $@ +README.txt: README + cp README $@ -iovec.html: - ./docbook2mdoc iovec.xml | mandoc -Thtml > $@ - -ls.html: - ./docbook2mdoc ls.xml | mandoc -Thtml > $@ - -as.html: - ./docbook2mdoc as.xml | mandoc -Thtml > $@ - -$(BUILT): docbook2mdoc - clean: rm -f docbook2mdoc docbook2mdoc.o rules.o rm -rf docbook2mdoc.dSYM - rm -f $(BUILT) index.html docbook2mdoc.1.html docbook2mdoc-$(VERSION).tgz + rm -f index.html docbook2mdoc.1.html docbook2mdoc-$(VERSION).tgz README.txt