From cfca13bf112e8d22aa3a035102ba23fd7af5f154 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Thu, 21 Aug 1997 18:40:04 +0000 Subject: [PATCH] Don't traverse subdirectories twice for normal installs. --- include/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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