summaryrefslogtreecommitdiff
path: root/pkgtools/pkgdiff/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2004-01-06 08:29:59 +0000
committerjlam <jlam>2004-01-06 08:29:59 +0000
commit7ae71b709e762683245f50fa9bc1eea06221ed37 (patch)
treefcfc23933a044370c99ce9f0e20ff30c0af7e31f /pkgtools/pkgdiff/Makefile
parent168a956560b30c8f4fe025e60d3a9aceb6fe879e (diff)
downloadpkgsrc-7ae71b709e762683245f50fa9bc1eea06221ed37.tar.gz
Create only the right man/* directories based on the value of MANINSTALL.
Diffstat (limited to 'pkgtools/pkgdiff/Makefile')
-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