annotate docs/rules.make @ 124:169018bd9ada

Added tag lwtools-4.4 for changeset 74b4e9f23c62
author lost@l-w.ca
date Wed, 10 Aug 2011 19:16:23 -0600
parents 06c4a2b72b24
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16
2f98cf1558e1 Added building of manual from docbook source to Makefile
lost@l-w.ca
parents:
diff changeset
1 dirname := $(dir $(lastword $(MAKEFILE_LIST)))
2f98cf1558e1 Added building of manual from docbook source to Makefile
lost@l-w.ca
parents:
diff changeset
2
2f98cf1558e1 Added building of manual from docbook source to Makefile
lost@l-w.ca
parents:
diff changeset
3 .PHONY: manual
2f98cf1558e1 Added building of manual from docbook source to Makefile
lost@l-w.ca
parents:
diff changeset
4 manual: manual-html manual-htmlm manual-pdf
2f98cf1558e1 Added building of manual from docbook source to Makefile
lost@l-w.ca
parents:
diff changeset
5
2f98cf1558e1 Added building of manual from docbook source to Makefile
lost@l-w.ca
parents:
diff changeset
6 .PHONY: manual-html
2f98cf1558e1 Added building of manual from docbook source to Makefile
lost@l-w.ca
parents:
diff changeset
7 manual-html: $(dirname)/manual/manual.html
2f98cf1558e1 Added building of manual from docbook source to Makefile
lost@l-w.ca
parents:
diff changeset
8
2f98cf1558e1 Added building of manual from docbook source to Makefile
lost@l-w.ca
parents:
diff changeset
9 .PHONY: manual-htmlm
2f98cf1558e1 Added building of manual from docbook source to Makefile
lost@l-w.ca
parents:
diff changeset
10 manual-htmlm: $(dirname)/manual/index.html
2f98cf1558e1 Added building of manual from docbook source to Makefile
lost@l-w.ca
parents:
diff changeset
11
2f98cf1558e1 Added building of manual from docbook source to Makefile
lost@l-w.ca
parents:
diff changeset
12 .PHONY: manual-pdf
2f98cf1558e1 Added building of manual from docbook source to Makefile
lost@l-w.ca
parents:
diff changeset
13 manual-pdf: $(dirname)/manual/manual.pdf
2f98cf1558e1 Added building of manual from docbook source to Makefile
lost@l-w.ca
parents:
diff changeset
14
2f98cf1558e1 Added building of manual from docbook source to Makefile
lost@l-w.ca
parents:
diff changeset
15 $(dirname)/manual/manual.html: $(dirname)/manual.docbook.sgml
19
06c4a2b72b24 Adjusted PDF manual build to remove extraneous .html file that is currently produced by docbook2pdf
lost@l-w.ca
parents: 16
diff changeset
16 docbook2html -o $(dirname) -u $(dirname)/manual.docbook.sgml && mv $(dirname)/manual.docbook.html $(dirname)/manual/manual.html
16
2f98cf1558e1 Added building of manual from docbook source to Makefile
lost@l-w.ca
parents:
diff changeset
17
2f98cf1558e1 Added building of manual from docbook source to Makefile
lost@l-w.ca
parents:
diff changeset
18 $(dirname)/manual/index.html: $(dirname)/manual.docbook.sgml
2f98cf1558e1 Added building of manual from docbook source to Makefile
lost@l-w.ca
parents:
diff changeset
19 docbook2html -o $(dirname)/manual $(dirname)manual.docbook.sgml
2f98cf1558e1 Added building of manual from docbook source to Makefile
lost@l-w.ca
parents:
diff changeset
20
2f98cf1558e1 Added building of manual from docbook source to Makefile
lost@l-w.ca
parents:
diff changeset
21 $(dirname)/manual/manual.pdf: $(dirname)/manual.docbook.sgml
19
06c4a2b72b24 Adjusted PDF manual build to remove extraneous .html file that is currently produced by docbook2pdf
lost@l-w.ca
parents: 16
diff changeset
22 docbook2pdf -o $(dirname) -u $(dirname)manual.docbook.sgml && mv $(dirname)/manual.docbook.pdf $(dirname)/manual/manual.pdf && rm -f $(dirname)/manual.docbook.html