Added single doc HTML file to Makefile
parent
010942ea3f
commit
d6e774caf2
8
Makefile
8
Makefile
|
@ -8,6 +8,7 @@ PATH_BROWSER_TEST=${PATH_TOOLS}/browser-test.html
|
||||||
PATH_DOC=${CWD}/doc
|
PATH_DOC=${CWD}/doc
|
||||||
PATH_DOC_OUTPUT=${PATH_BUILD}/doc
|
PATH_DOC_OUTPUT=${PATH_BUILD}/doc
|
||||||
PATH_DOC_OUTPUT_HTML=${PATH_DOC_OUTPUT}/manual
|
PATH_DOC_OUTPUT_HTML=${PATH_DOC_OUTPUT}/manual
|
||||||
|
PATH_DOC_OUTPUT_HTML1=${PATH_DOC_OUTPUT}/manual.html
|
||||||
PATH_MANUAL_TEXI=${PATH_DOC}/manual.texi
|
PATH_MANUAL_TEXI=${PATH_DOC}/manual.texi
|
||||||
|
|
||||||
COMBINE=${PATH_TOOLS}/combine
|
COMBINE=${PATH_TOOLS}/combine
|
||||||
|
@ -40,7 +41,9 @@ test: default
|
||||||
done;
|
done;
|
||||||
|
|
||||||
# generate texinfo documentation (twice to generate TOC), then remove the extra
|
# generate texinfo documentation (twice to generate TOC), then remove the extra
|
||||||
# files that were generaetd
|
# files that were generated
|
||||||
|
#
|
||||||
|
# generates: pdf, HTML (multiple pages), HTML (single page)
|
||||||
doc:
|
doc:
|
||||||
@mkdir -p ${PATH_DOC_OUTPUT}
|
@mkdir -p ${PATH_DOC_OUTPUT}
|
||||||
pdftex -output-directory "${PATH_DOC}" ${PATH_MANUAL_TEXI}
|
pdftex -output-directory "${PATH_DOC}" ${PATH_MANUAL_TEXI}
|
||||||
|
@ -52,7 +55,8 @@ doc:
|
||||||
| xargs rm
|
| xargs rm
|
||||||
@mv -f ${PATH_DOC}/*.pdf ${PATH_DOC_OUTPUT}
|
@mv -f ${PATH_DOC}/*.pdf ${PATH_DOC_OUTPUT}
|
||||||
cd ${PATH_DOC}; \
|
cd ${PATH_DOC}; \
|
||||||
makeinfo --html -o ${PATH_DOC_OUTPUT_HTML} ${PATH_MANUAL_TEXI}
|
makeinfo --html -o ${PATH_DOC_OUTPUT_HTML} ${PATH_MANUAL_TEXI}; \
|
||||||
|
makeinfo --no-split --html -o ${PATH_DOC_OUTPUT_HTML1} ${PATH_MANUAL_TEXI};
|
||||||
|
|
||||||
# clean up build dir
|
# clean up build dir
|
||||||
clean:
|
clean:
|
||||||
|
|
Loading…
Reference in New Issue