fix a problem with headers not being installed properly... basicly the

installhdrs target was not being propagated to the subdirs...

also fix rpcsvc's Makefile to have a installhdrs target to install the
headers..
This commit is contained in:
John-Mark Gurney 1997-08-21 09:29:49 +00:00
parent e6b54a1659
commit 4604167e0a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=28524
2 changed files with 10 additions and 5 deletions

View File

@ -1,5 +1,5 @@
# From: @(#)Makefile 8.2 (Berkeley) 1/4/94
# $Id: Makefile,v 1.60 1997/07/31 11:32:25 asami Exp $
# $Id: Makefile,v 1.61 1997/08/18 06:28:47 peter Exp $
#
# Doing a make install builds /usr/include
#
@ -66,7 +66,7 @@ all:
beforeinstall: installhdrs ${SHARED}
installhdrs:
installhdrs: _SUBDIR
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.15 1997/05/28 04:38:13 wpaul Exp $
# $Id: Makefile,v 1.16 1997/05/28 16:26:05 wpaul Exp $
.SUFFIXES: .x
@ -19,13 +19,18 @@ CLEANFILES+= ${HDRS}
all: ${HDRS}
beforeinstall:
beforeinstall: installhdrs
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
${HFILES:S;^;${.CURDIR}/;} \
${XFILES:S;^;${.CURDIR}/;} \
${HDRS} \
${DESTDIR}/usr/include/rpcsvc
installhdrs:
cd ${.OBJDIR}; \
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
${HDRS} \
${DESTDIR}/usr/include/rpcsvc
.x.h:
${RPCCOM} -h ${.IMPSRC} -o ${.TARGET}