aboutsummaryrefslogtreecommitdiff
path: root/release
diff options
context:
space:
mode:
authorBruce A. Mah <bmah@FreeBSD.org>2002-04-29 04:47:20 +0000
committerBruce A. Mah <bmah@FreeBSD.org>2002-04-29 04:47:20 +0000
commit764af2165db08925d5af41b5a9e543497207d6f1 (patch)
treead5e0794802ba184c54ce30bf5de5aa5a28b2a78 /release
parent78f200ca5b4cfde95dd0ecddd619d2965b04e983 (diff)
Notes
Diffstat (limited to 'release')
-rw-r--r--release/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/release/Makefile b/release/Makefile
index 54eead24e2..2bf93ef39f 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -40,19 +40,22 @@ DATE!= date +%Y%m%d
BUILDNAME?= ${DATE}
#
-# Set defaults for FORMATS and DOC_LANG. To preserve POLA, these
-# should be reflect the defaults.
+# Set defaults for FORMATS, DOC_LANG, and INSTALL_COMPRESSED.
#
-FORMATS?= html
-DOC_LANG?= en_US.ISO8859-1
+FORMATS?= ps pdf html html-split html-split.tar txt pdb
+#DOC_LANG?= en_US.ISO8859-1
+INSTALL_COMPRESSED?= zip gz
#
-# Miscellaneous but mandatory options for the build get set here.
+# Miscellaneous options for the build get set here.
+#
# The Japanese translation team has a set of manual pages; we turn
# these off (at least for now) because we have not worked their
# install target into our scheme.
#
-MISCOPTIONS+= NO_JPMAN=yes
+# Turn on RLE encoding and indexing.
+#
+MISCOPTIONS+= NO_JPMAN=yes RLE=yes GEN_INDEX=1
DOCSTAGEDIR= ${DOCROOTDIR}/doc
DOCBUILDFILE= ${DOCROOTDIR}/doc/BUILD.TXT
@@ -75,7 +78,7 @@ rerelease release:
# We do this so as to avoid interference with any built documents that
# happen to be sitting under ${DOC_PREFIX}, which might be built with
# different options, etc.
- cd ${DOC_PREFIX} && env MAKEOBJDIRPREFIX=${DOCROOTDIR}/obj ${MAKE} all install DOCDIR=${DOCSTAGEDIR} ${MISCOPTIONS}
+ cd ${DOC_PREFIX} && env MAKEOBJDIRPREFIX=${DOCROOTDIR}/obj ${MAKE} all install DOCDIR=${DOCSTAGEDIR} FORMATS="${FORMATS}" INSTALL_COMPRESSED="${INSTALL_COMPRESSED}" ${MISCOPTIONS}
# Copy any files in our texts/ directory to the staging area.
${TAR} --exclude CVS -cf - -C ${.CURDIR}/texts . | \
${TAR} xf - -C ${DOCSTAGEDIR}