From 6c065dd935eff75e7367acf23ae84cc3251a00a9 Mon Sep 17 00:00:00 2001 From: bde Date: Tue, 16 Sep 1997 10:52:59 +0000 Subject: [PATCH] Removed installhdrs target. It was an unnecessary complication. --- include/Makefile | 9 ++------- include/rpcsvc/Makefile | 6 ++---- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/include/Makefile b/include/Makefile index d7fe67dd3ef7..754d7dcf0660 100644 --- a/include/Makefile +++ b/include/Makefile @@ -1,5 +1,5 @@ # From: @(#)Makefile 8.2 (Berkeley) 1/4/94 -# $Id: Makefile,v 1.63 1997/08/21 18:40:04 bde Exp $ +# $Id: Makefile,v 1.64 1997/09/14 03:32:44 peter Exp $ # # Doing a make install builds /usr/include # @@ -64,12 +64,7 @@ all: >> osreldate.h .endif -beforeinstall: installhdrs ${SHARED} - -.if make(installhdrs) -installhdrs: _SUBDIR -.endif -installhdrs: +beforeinstall: ${SHARED} cd ${.CURDIR}; \ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \ ${FILES} ${DESTDIR}/usr/include diff --git a/include/rpcsvc/Makefile b/include/rpcsvc/Makefile index c1581e932c15..07e5bb4d3f1c 100644 --- a/include/rpcsvc/Makefile +++ b/include/rpcsvc/Makefile @@ -1,5 +1,5 @@ # from: @(#)Makefile 2.3 88/08/11 4.0 RPCSRC -# $Id: Makefile,v 1.17 1997/08/21 09:29:49 jmg Exp $ +# $Id: Makefile,v 1.18 1997/08/21 18:33:13 bde Exp $ .SUFFIXES: .x @@ -19,9 +19,7 @@ CLEANFILES+= ${HDRS} all: ${HDRS} -beforeinstall: installhdrs - -installhdrs: +beforeinstall: ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \ ${HFILES:S;^;${.CURDIR}/;} \ ${XFILES:S;^;${.CURDIR}/;} \