diff options
author | jlam <jlam@pkgsrc.org> | 2004-01-06 08:29:59 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-01-06 08:29:59 +0000 |
commit | 76085a8f5e9419ebb282bbfc7626669cc5bdaf99 (patch) | |
tree | fcfc23933a044370c99ce9f0e20ff30c0af7e31f /pkgtools | |
parent | 01cfaf3bd537a66eca059ed3bbb313d8c30d191c (diff) | |
download | pkgsrc-76085a8f5e9419ebb282bbfc7626669cc5bdaf99.tar.gz |
Create only the right man/* directories based on the value of MANINSTALL.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkgdiff/Makefile | 10 |
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 |