aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorNik Clayton <nik@FreeBSD.org>1999-08-05 20:22:49 +0000
committerNik Clayton <nik@FreeBSD.org>1999-08-05 20:22:49 +0000
commit537037f404105363fcfc81648a68c9d4cd58211c (patch)
tree9fcc5ac68d99b5b5ff02b77744a4a223f9091ad9 /share
parent99f23bc93e81519a796c9ebd98fa97f923fddf17 (diff)
downloaddoc-537037f404105363fcfc81648a68c9d4cd58211c.tar.gz
doc-537037f404105363fcfc81648a68c9d4cd58211c.zip
Make ${INSTALL_COMPRESSED} and ${INSTALL_ONLY_COMPRESSED} truly optional.
PR: docs/12978 Submitted by: John Baldwin <jobaldwi@vt.edu>
Notes
Notes: svn path=/head/; revision=5326
Diffstat (limited to 'share')
-rw-r--r--share/mk/docproj.docbook.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/mk/docproj.docbook.mk b/share/mk/docproj.docbook.mk
index 6ed9e4380f..93b7302a30 100644
--- a/share/mk/docproj.docbook.mk
+++ b/share/mk/docproj.docbook.mk
@@ -1,5 +1,5 @@
#
-# $Id: docproj.docbook.mk,v 1.5 1999-06-03 19:39:29 nik Exp $
+# $Id: docproj.docbook.mk,v 1.6 1999-08-05 20:22:49 nik Exp $
#
# This include file <docproj.docbook.mk> handles installing documentation
# from the FreeBSD Documentation Project.
@@ -183,7 +183,7 @@ CLEANFILES+= ${DOC}.doc
# ${_docs} and ${CLEANFILES} so they get built/cleaned by "all" and
# "clean".
#
-.if !empty(INSTALL_COMPRESSED)
+.if defined(INSTALL_COMPRESSED) && !empty(INSTALL_COMPRESSED)
.for _curformat in ${FORMATS}
_cf=${_curformat}
.for _curcomp in ${INSTALL_COMPRESSED}
@@ -336,7 +336,7 @@ install: beforeinstall realinstall afterinstall
# Build a list of install-format targets to be installed. These will be
# dependencies for the "realinstall" target.
#
-.if empty(INSTALL_ONLY_COMPRESSED)
+.if !defined(INSTALL_ONLY_COMPRESSED) || empty(INSTALL_ONLY_COMPRESSED)
_curinst+= ${FORMATS:S/^/install-/g}
.endif