summaryrefslogtreecommitdiffstats
path: root/include/Makefile
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-08-21 18:40:04 +0000
committerbde <bde@FreeBSD.org>1997-08-21 18:40:04 +0000
commit941fd542125e80f2ad8d523429d0fcbe1f6b0df9 (patch)
tree82b1b63a3259c7f654b88c30f10ef4982976646e /include/Makefile
parent834e560c34a98ce743a2c998c2afaae38b8e4c32 (diff)
downloadFreeBSD-src-941fd542125e80f2ad8d523429d0fcbe1f6b0df9.zip
FreeBSD-src-941fd542125e80f2ad8d523429d0fcbe1f6b0df9.tar.gz
Don't traverse subdirectories twice for normal installs.
Diffstat (limited to 'include/Makefile')
-rw-r--r--include/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/Makefile b/include/Makefile
index 1dfe4cc..ead42d3 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
OpenPOWER on IntegriCloud