summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorjmg <jmg@FreeBSD.org>1997-08-21 09:29:49 +0000
committerjmg <jmg@FreeBSD.org>1997-08-21 09:29:49 +0000
commit7e95ba029ed99ff5135ce8a0fbd9e0b2dc9d401e (patch)
tree0e413cc921bbee3f03211739ae2c3076ca1b54d1 /include
parentb4679bb7016318a2d516f16698e29bc5d462ae0b (diff)
downloadFreeBSD-src-7e95ba029ed99ff5135ce8a0fbd9e0b2dc9d401e.zip
FreeBSD-src-7e95ba029ed99ff5135ce8a0fbd9e0b2dc9d401e.tar.gz
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..
Diffstat (limited to 'include')
-rw-r--r--include/Makefile4
-rw-r--r--include/rpcsvc/Makefile11
2 files changed, 10 insertions, 5 deletions
diff --git a/include/Makefile b/include/Makefile
index 35adae0..1dfe4cc 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -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
diff --git a/include/rpcsvc/Makefile b/include/rpcsvc/Makefile
index 60d427c..a9015e0 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.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}
OpenPOWER on IntegriCloud