From f80271a9681506a0f0e13717fe04e910d5da9028 Mon Sep 17 00:00:00 2001 From: drahn Date: Mon, 1 Sep 2008 17:18:19 +0000 Subject: [PATCH] Install files in the correct directory even with NOMAN set. Theo made a number of suggestions/enhancements to get to this final version. --- libexec/makewhatis/Makefile | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/libexec/makewhatis/Makefile b/libexec/makewhatis/Makefile index 743ceaccb54..de1f0630337 100644 --- a/libexec/makewhatis/Makefile +++ b/libexec/makewhatis/Makefile @@ -1,6 +1,7 @@ -# $OpenBSD: Makefile,v 1.7 2004/08/06 12:05:08 espie Exp $ +# $OpenBSD: Makefile,v 1.8 2008/09/01 17:18:19 drahn Exp $ MAN=makewhatis.8 +NOPROG= PACKAGES= \ OpenBSD/Makewhatis.pm \ OpenBSD/Makewhatis/Check.pm \ @@ -14,11 +15,7 @@ SCRIPTS= \ LIBBASE=/usr/libdata/perl5 -# Nothing to build -depend: -all: - -install: +realinstall: .for i in ${PACKAGES} ${INSTALL} -d -o ${LIBOWN} -g ${LIBGRP} -m ${DIRMODE} \ ${DESTDIR}${LIBBASE}/${i:H} @@ -30,14 +27,4 @@ install: ${.CURDIR}/$i ${DESTDIR}${BINDIR}/$i .endfor -clean: - -.include - -.if !defined(NOMAN) -install: maninstall -.include -.endif - -.include -.include +.include -- 2.20.1