annotate docs/Makefile @ 272:cfeb196251e4

Fix conditional setting of build tools variables in the makefile As pointed out by Tormod Volden, make automatically sets CC and AR. Instead of a conditional setting of those variables, automatically add BUILDTPREFIX to them if it is set without overriding the values of CC, AR, and RANLIB. Also have extra default conditional settings of those three variables in the event that they happen not to be set for some reason.
author William Astle <lost@l-w.ca>
date Sat, 20 Apr 2013 11:00:11 -0600
parents 411ef9735264
children e4ad15af2e93
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
169
eb7d220465fb Added convenience makefile for generating docs
lost@l-w.ca
parents:
diff changeset
1 all:
170
372d7c881831 More manual updates
lost@l-w.ca
parents: 169
diff changeset
2 hg rm manual/* || true
372d7c881831 More manual updates
lost@l-w.ca
parents: 169
diff changeset
3 rm -f manual/*.pdf manual/*.html
169
eb7d220465fb Added convenience makefile for generating docs
lost@l-w.ca
parents:
diff changeset
4 docbook2html -o manual manual.docbook.sgml
eb7d220465fb Added convenience makefile for generating docs
lost@l-w.ca
parents:
diff changeset
5 docbook2html -u manual.docbook.sgml && mv manual.docbook.html manual/manual.html
eb7d220465fb Added convenience makefile for generating docs
lost@l-w.ca
parents:
diff changeset
6 docbook2pdf -u manual.docbook.sgml && mv manual.docbook.pdf manual/manual.pdf
174
411ef9735264 Fixing up helper for building manual
lost@l-w.ca
parents: 170
diff changeset
7 rm -f manual.docbook.html
169
eb7d220465fb Added convenience makefile for generating docs
lost@l-w.ca
parents:
diff changeset
8 hg add manual/*