diff options
author | Murray Stokely <murray@FreeBSD.org> | 2001-07-21 03:44:27 +0000 |
---|---|---|
committer | Murray Stokely <murray@FreeBSD.org> | 2001-07-21 03:44:27 +0000 |
commit | abaf57a79269126e6d6849ef14eca091354f3c77 (patch) | |
tree | 5c295ec20e1adf28021b10986a6d3699b80a28cc /share | |
parent | 383c86289e98f70cd5312d9669de16509e6ba316 (diff) | |
download | doc-abaf57a79269126e6d6849ef14eca091354f3c77.tar.gz doc-abaf57a79269126e6d6849ef14eca091354f3c77.zip |
Allow NICE_HEADERS to be used in the GEN_INDEX case.
NICE_HEADERS is a set of print-only enhancements, however the HTML
backend is invoked whenever an index is generated, so we should not
touch JADEOPTS directly and should instead modify the .tex-ps target
directly.
Notes
Notes:
svn path=/head/; revision=9990
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/doc.docbook.mk | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/share/mk/doc.docbook.mk b/share/mk/doc.docbook.mk index 1f3de55cc9..b7c0791cdc 100644 --- a/share/mk/doc.docbook.mk +++ b/share/mk/doc.docbook.mk @@ -1,5 +1,5 @@ # -# $FreeBSD: doc/share/mk/doc.docbook.mk,v 1.39 2001/07/16 05:00:20 murray Exp $ +# $FreeBSD: doc/share/mk/doc.docbook.mk,v 1.40 2001/07/16 15:11:54 nik Exp $ # # This include file <doc.docbook.mk> handles building and installing of # DocBook documentation in the FreeBSD Documentation Project. @@ -211,10 +211,6 @@ CLEANFILES+= ${DOC}.${_curformat}.${_curcomp} .endfor .endif -.if defined(NICE_HEADERS) -JADEOPTS+= -ioutput.print.niceheaders -.endif - # # Index generation # @@ -283,8 +279,13 @@ ${DOC}.rtf: ${SRCS} # we need to create a different .tex file depending on our eventual output # format, which will then lead on to a different .dvi file as well. # +.if defined(NICE_HEADERS) +${DOC}.tex-ps: ${SRCS} ${IMAGES_EPS} ${INDEX_SGML} ${PRINT_INDEX} + ${JADE} -Vtex-backend -ioutput.print -ioutput.print.niceheaders ${JADEOPTS} -d ${DSLPRINT} -t tex -o ${.TARGET} ${MASTERDOC} +.else ${DOC}.tex-ps: ${SRCS} ${IMAGES_EPS} ${INDEX_SGML} ${PRINT_INDEX} ${JADE} -Vtex-backend -ioutput.print ${JADEOPTS} -d ${DSLPRINT} -t tex -o ${.TARGET} ${MASTERDOC} +.endif ${DOC}.tex-pdf: ${SRCS} ${IMAGES_PDF} ${INDEX_SGML} ${PRINT_INDEX} cp ${DOC_PREFIX}/share/web2c/pdftex.def ${.TARGET} |