Split doc processes into separate targets for Makefile
parent
eb3f75400f
commit
2b5fb2e0eb
14
Makefile
14
Makefile
|
@ -62,14 +62,20 @@ perf-%.js: default
|
||||||
# files that were generated
|
# files that were generated
|
||||||
#
|
#
|
||||||
# generates: pdf, HTML (multiple pages), HTML (single page)
|
# generates: pdf, HTML (multiple pages), HTML (single page)
|
||||||
doc: mkbuild
|
doc: mkbuild doc-pdf doc-texi doc-plain doc-html
|
||||||
|
doc-pdf:
|
||||||
pdftex -output-directory "${PATH_DOC}" "${PATH_MANUAL_TEXI}"
|
pdftex -output-directory "${PATH_DOC}" "${PATH_MANUAL_TEXI}"
|
||||||
pdftex -output-directory "${PATH_DOC}" "${PATH_MANUAL_TEXI}"
|
pdftex -output-directory "${PATH_DOC}" "${PATH_MANUAL_TEXI}"
|
||||||
mv -f "${PATH_DOC}"/*.pdf "${PATH_DOC_OUTPUT}"
|
mv -f "${PATH_DOC}"/*.pdf "${PATH_DOC_OUTPUT}"
|
||||||
cd "$(PATH_DOC)" && rm -f $(shell cat "$(PATH_DOC)/.gitignore")
|
cd "$(PATH_DOC)" && rm -f $(shell cat "$(PATH_DOC)/.gitignore")
|
||||||
cd "${PATH_DOC}"; \
|
doc-texi:
|
||||||
makeinfo -o "${PATH_DOC_OUTPUT_INFO}" "${PATH_MANUAL_TEXI}"; \
|
cd "${PATH_DOC}" && \
|
||||||
makeinfo --plain "${PATH_MANUAL_TEXI}" > "${PATH_DOC_OUTPUT_PLAIN}"; \
|
makeinfo -o "${PATH_DOC_OUTPUT_INFO}" "${PATH_MANUAL_TEXI}";
|
||||||
|
doc-plain:
|
||||||
|
cd "${PATH_DOC}" && \
|
||||||
|
makeinfo --plain "${PATH_MANUAL_TEXI}" > "${PATH_DOC_OUTPUT_PLAIN}";
|
||||||
|
doc-html:
|
||||||
|
cd "${PATH_DOC}" && \
|
||||||
makeinfo --html --css-include="${PATH_DOC_CSS}" \
|
makeinfo --html --css-include="${PATH_DOC_CSS}" \
|
||||||
-o "${PATH_DOC_OUTPUT_HTML}" "${PATH_MANUAL_TEXI}"; \
|
-o "${PATH_DOC_OUTPUT_HTML}" "${PATH_MANUAL_TEXI}"; \
|
||||||
makeinfo --no-split --html --css-include="${PATH_DOC_CSS}" \
|
makeinfo --no-split --html --css-include="${PATH_DOC_CSS}" \
|
||||||
|
|
Loading…
Reference in New Issue