comparison Makefile @ 352:fd96bb4a9c8d lwtools-4.11

Remove manual building targets from Makefile Since the manual is distributed prebuilt in the repository, there is no need to include documentation building rules in the top level make file.
author William Astle <lost@l-w.ca>
date Mon, 13 Apr 2015 13:18:38 -0600
parents f0910d85f7db
children c6bd6e9bc6df
comparison
equal deleted inserted replaced
351:e4ad15af2e93 352:fd96bb4a9c8d
129 129
130 .PHONY: realclean 130 .PHONY: realclean
131 realclean: clean $(realcleantargs) 131 realclean: clean $(realcleantargs)
132 @echo "Cleaning up even more" 132 @echo "Cleaning up even more"
133 @rm -f $(lwasm_deps) $(lwlink_deps) $(lwar_deps) $(lwlib_deps) $(lwobjdump_deps) 133 @rm -f $(lwasm_deps) $(lwlink_deps) $(lwar_deps) $(lwlib_deps) $(lwobjdump_deps)
134 @rm -f docs/manual/*.html docs/manual/*.pdf
135 134
136 print-%: 135 print-%:
137 @echo $* = $($*) 136 @echo $* = $($*)
138 137
139 .PHONY: install 138 .PHONY: install
143 142
144 .PHONY: test 143 .PHONY: test
145 test: all test/runtests 144 test: all test/runtests
146 @test/runtests 145 @test/runtests
147 146
148 .PHONY: manual
149 manual: manual-html manual-htmlm manual-pdf
150
151 .PHONY: manual-html
152 manual-html: docs/manual/manual.html
153
154 .PHONY: manual-htmlm
155 manual-htmlm: docs/manual/index.html
156
157 .PHONY: manual-pdf
158 manual-pdf: docs/manual/manual.pdf
159
160 docs/manual/manual.html: docs/manual.docbook.sgml
161 docbook2html -o docs -u docs/manual.docbook.sgml && mv docs/manual.docbook.html docs/manual/manual.html
162
163 docs/manual/index.html: docs/manual.docbook.sgml
164 docbook2html -o docs/manual docs/manual.docbook.sgml
165
166 docs/manual/manual.pdf: docs/manual.docbook.sgml
167 docbook2pdf -o docs -u docs/manual.docbook.sgml && mv docs/manual.docbook.pdf docs/manual/manual.pdf && rm -f docs/manual.docbook.html
168