summaryrefslogtreecommitdiff
path: root/pkgtools/pkgdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-06 08:29:59 +0000
committerjlam <jlam@pkgsrc.org>2004-01-06 08:29:59 +0000
commit76085a8f5e9419ebb282bbfc7626669cc5bdaf99 (patch)
treefcfc23933a044370c99ce9f0e20ff30c0af7e31f /pkgtools/pkgdiff
parent01cfaf3bd537a66eca059ed3bbb313d8c30d191c (diff)
downloadpkgsrc-76085a8f5e9419ebb282bbfc7626669cc5bdaf99.tar.gz
Create only the right man/* directories based on the value of MANINSTALL.
Diffstat (limited to 'pkgtools/pkgdiff')
-rw-r--r--pkgtools/pkgdiff/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgtools/pkgdiff/Makefile b/pkgtools/pkgdiff/Makefile
index 6af3046026a..dcb64c1b989 100644
--- a/pkgtools/pkgdiff/Makefile
+++ b/pkgtools/pkgdiff/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2004/01/05 11:32:40 jlam Exp $
+# $NetBSD: Makefile,v 1.43 2004/01/06 08:29:59 jlam Exp $
#
DISTNAME= pkgdiff-0.113
@@ -36,7 +36,13 @@ NROFF= nroff
DIFF?= diff
.endif
-INSTALLATION_DIRS= bin man/cat1 man/man1
+INSTALLATION_DIRS= bin
+.if !empty(MANINSTALL:Mcatinstall)
+INSTALLATION_DIRS+= man/cat1
+.endif
+.if !empty(MANINSTALL:Mmaninstall)
+INSTALLATION_DIRS+= man/man1
+.endif
do-build:
.for FILE in mkpatches patchdiff