annotate 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 |
rev |
line source |
169
|
1 all:
|
170
|
2 hg rm manual/* || true
|
|
3 rm -f manual/*.pdf manual/*.html
|
169
|
4 docbook2html -o manual manual.docbook.sgml
|
|
5 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
|
174
|
7 rm -f manual.docbook.html
|
169
|
8 hg add manual/*
|