mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 03:49:02 +00:00
Don't traverse subdirectories twice for normal installs.
This commit is contained in:
parent
41b5513403
commit
cfca13bf11
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=28543
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user