aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/mk/doc.docbook.mk11
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}