annotate docs/rules.make @ 66:0359d9f1dfca

Added tag lwtools-4.0 for changeset 05f1a31f8f1e
author lost@l-w.ca
date Fri, 08 Apr 2011 21:38:15 -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