view docs/Makefile @ 281:cb24ffb23f7c

Make DTS not have problems if used multiple times. Storing a pointer to a static return value for future use is dangerous since the value might be overwritten by a subsequent call. Make DTS duplicate the string it creates instead of relying on the static return value staying valid.
author William Astle <lost@l-w.ca>
date Tue, 16 Jul 2013 21:48:49 -0600
parents 411ef9735264
children e4ad15af2e93
line wrap: on
line source

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
	hg add manual/*