From 76085a8f5e9419ebb282bbfc7626669cc5bdaf99 Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 6 Jan 2004 08:29:59 +0000 Subject: Create only the right man/* directories based on the value of MANINSTALL. --- pkgtools/pkgdiff/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'pkgtools') 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 -- cgit v1.2.3