Mercurial > hg > index.cgi
annotate docs/rules.make @ 105:3e9057059a43
Even more command line parser fixing
author | lost@l-w.ca |
---|---|
date | Sat, 06 Aug 2011 23:20:10 -0600 |
parents | 06c4a2b72b24 |
children |
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 |