diff 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
line wrap: on
line diff
--- a/docs/Makefile	Mon Apr 13 08:46:17 2015 -0600
+++ b/docs/Makefile	Mon Apr 13 08:49:22 2015 -0600
@@ -1,8 +1,11 @@
 all:
-	hg rm manual/* || true
 	rm -f manual/*.pdf manual/*.html
 	docbook2html -o manual manual.docbook.sgml
 	docbook2html -u manual.docbook.sgml && mv manual.docbook.html manual/manual.html
 	docbook2pdf -u manual.docbook.sgml && mv manual.docbook.pdf manual/manual.pdf
 	rm -f manual.docbook.html
+
+maint:
+	hg rm manual/* || true
+	$(MAKE) all
 	hg add manual/*