aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-08-21 18:40:04 +0000
committerBruce Evans <bde@FreeBSD.org>1997-08-21 18:40:04 +0000
commitcfca13bf112e8d22aa3a035102ba23fd7af5f154 (patch)
tree32183c391fd390f33a59fc3cbd5310415f8b61b2 /include
parent41b55134037cf148881b9642e1c1a1bfb097fb05 (diff)
downloadsrc-cfca13bf112e8d22aa3a035102ba23fd7af5f154.tar.gz
src-cfca13bf112e8d22aa3a035102ba23fd7af5f154.zip
Don't traverse subdirectories twice for normal installs.
Notes
Notes: svn path=/head/; revision=28543
Diffstat (limited to 'include')
-rw-r--r--include/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/Makefile b/include/Makefile
index 1dfe4cce5d41..ead42d3551d9 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -1,5 +1,5 @@
# From: @(#)Makefile 8.2 (Berkeley) 1/4/94
-# $Id: Makefile,v 1.61 1997/08/18 06:28:47 peter Exp $
+# $Id: Makefile,v 1.62 1997/08/21 09:29:46 jmg Exp $
#
# Doing a make install builds /usr/include
#
@@ -66,7 +66,10 @@ all:
beforeinstall: installhdrs ${SHARED}
+.if make(installhdrs)
installhdrs: _SUBDIR
+.endif
+installhdrs:
cd ${.CURDIR}; \
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
${FILES} ${DESTDIR}/usr/include