=================================================================== RCS file: /cvs/docbook2mdoc/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -u -p -r1.2 -r1.3 --- docbook2mdoc/Makefile 2014/03/28 11:20:07 1.2 +++ docbook2mdoc/Makefile 2014/03/29 11:13:49 1.3 @@ -1,10 +1,11 @@ VERSION = 0.0.2 CFLAGS += -g -W -Wall -Wstrict-prototypes -Wno-unused-parameter -Wwrite-strings +BUILT = printf.html iovec.html ls.html as.html docbook2mdoc: docbook2mdoc.o $(CC) -o $@ docbook2mdoc.o -lexpat -www: index.html docbook2mdoc.1.html docbook2mdoc-$(VERSION).tgz +www: docbook2mdoc index.html docbook2mdoc.1.html docbook2mdoc-$(VERSION).tgz $(BUILT) installwww: www mkdir -p $(PREFIX)/snapshots @@ -26,6 +27,19 @@ index.html: index.xml docbook2mdoc.1.html: docbook2mdoc.1 mandoc -Thtml docbook2mdoc.1 >$@ +printf.html: + ./docbook2mdoc printf.xml | mandoc -Thtml > $@ + +iovec.html: + ./docbook2mdoc iovec.xml | mandoc -Thtml > $@ + +ls.html: + ./docbook2mdoc ls.xml | mandoc -Thtml > $@ + +as.html: + ./docbook2mdoc as.xml | mandoc -Thtml > $@ + clean: - rm -f docbook2mdoc docbook2mdoc.o docbook2mdoc-$(VERSION).tgz index.html docbook2mdoc.1.html + rm -f docbook2mdoc docbook2mdoc.o rm -rf docbook2mdoc.dSYM + rm -f $(BUILT) index.html docbook2mdoc.1.html docbook2mdoc-$(VERSION).tgz