diff options
author | agc <agc> | 1999-07-02 08:37:20 +0000 |
---|---|---|
committer | agc <agc> | 1999-07-02 08:37:20 +0000 |
commit | 8a5c97441495d18daeb3c61d9a964ad847e36b55 (patch) | |
tree | 362c5b8a0071e5142cca0f9817f6405d9085751b /pkgtools/pkg_install | |
parent | 2f5a25dd4429df572f46b4c56c15505c5650ab29 (diff) | |
download | pkgsrc-8a5c97441495d18daeb3c61d9a964ad847e36b55.tar.gz |
Some packages use bsd-style .mk files when building, and so any manual
pages that are installed will be gzip-compressed, if MANZ is set, or
not if MANZ is not set. If the package uses bsd-style .mk files, the
variable MANCOMPRESSED_IF_MANZ should be set to a value of "yes" in
the package Makefile. This replaces the previous method of specific
inclusion of bsd.prefs.mk, followed by a check for MANZ and
conditional assignment of MANCOMPRESSED.
Add appropriate documentation, and change all necessary ocurrences in
package Makefiles.
Diffstat (limited to 'pkgtools/pkg_install')
-rw-r--r-- | pkgtools/pkg_install/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile index dd2fc6ae9bd..d3a8f65e372 100644 --- a/pkgtools/pkg_install/Makefile +++ b/pkgtools/pkg_install/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 1999/05/30 16:54:16 tron Exp $ +# $NetBSD: Makefile,v 1.23 1999/07/02 08:37:28 agc Exp $ # # Note to package maintainers: @@ -23,13 +23,11 @@ NO_MTREE= yes NO_PATCH= yes NO_PKG_REGISTER= yes NO_PACKAGE= No package registration is done +MANCOMPRESSED_IF_MANZ= yes .include "../../mk/bsd.prefs.mk" LOCALBASE= /usr -.ifdef MANZ -MANCOMPRESSED= yes -.endif post-install: if [ ! -f $${PKG_DBDIR:-/var/db/pkg}/pkgdb.byfile.db ]; then \ |