Removed installhdrs target. It was an unnecessary complication.

This commit is contained in:
bde 1997-09-16 10:52:59 +00:00
parent fb7c748153
commit 6c065dd935
2 changed files with 4 additions and 11 deletions

View File

@ -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

View File

@ -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}/;} \