summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-08-18 06:28:47 +0000
committerpeter <peter@FreeBSD.org>1997-08-18 06:28:47 +0000
commit0abf5130c20d87da265969d781d46a4f74174737 (patch)
treec3f2833fba4a810a377dad6cf1b5df159fd6e01d /include
parentccd541db0aefa0415979fe5465fa67b4fc1eb9cb (diff)
downloadFreeBSD-src-0abf5130c20d87da265969d781d46a4f74174737.zip
FreeBSD-src-0abf5130c20d87da265969d781d46a4f74174737.tar.gz
split beforeinstall hook up so that the header install stuff is reachable
without risking invoking ${SHARED}.
Diffstat (limited to 'include')
-rw-r--r--include/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/Makefile b/include/Makefile
index 71a42bc..35adae0 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -1,5 +1,5 @@
# From: @(#)Makefile 8.2 (Berkeley) 1/4/94
-# $Id: Makefile,v 1.59 1997/06/25 08:04:51 msmith Exp $
+# $Id: Makefile,v 1.60 1997/07/31 11:32:25 asami Exp $
#
# Doing a make install builds /usr/include
#
@@ -64,7 +64,9 @@ all:
>> osreldate.h
.endif
-beforeinstall: ${SHARED}
+beforeinstall: installhdrs ${SHARED}
+
+installhdrs:
cd ${.CURDIR}; \
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
${FILES} ${DESTDIR}/usr/include
OpenPOWER on IntegriCloud