comparison docs/Makefile @ 351:e4ad15af2e93

Make the "hg" stuff in the docs/Makefile clearly maintainter related Set the "all" target in docs/ to just rebuild the manual. Move the maintainer related HG stuff to a separate target.
author William Astle <lost@l-w.ca>
date Mon, 13 Apr 2015 08:49:22 -0600
parents 411ef9735264
children fc166b3bbae3
comparison
equal deleted inserted replaced
350:f0910d85f7db 351:e4ad15af2e93
1 all: 1 all:
2 hg rm manual/* || true
3 rm -f manual/*.pdf manual/*.html 2 rm -f manual/*.pdf manual/*.html
4 docbook2html -o manual manual.docbook.sgml 3 docbook2html -o manual manual.docbook.sgml
5 docbook2html -u manual.docbook.sgml && mv manual.docbook.html manual/manual.html 4 docbook2html -u manual.docbook.sgml && mv manual.docbook.html manual/manual.html
6 docbook2pdf -u manual.docbook.sgml && mv manual.docbook.pdf manual/manual.pdf 5 docbook2pdf -u manual.docbook.sgml && mv manual.docbook.pdf manual/manual.pdf
7 rm -f manual.docbook.html 6 rm -f manual.docbook.html
7
8 maint:
9 hg rm manual/* || true
10 $(MAKE) all
8 hg add manual/* 11 hg add manual/*