Unconditionally set 'NO_SUBDIR' define.
web.site.mk includes bsd.subdir.mk via bsd.obj.mk which is responsible for processing of 'SUBDIR' make variable. But since we are handling 'SUBDIR' here explicitly, doing same thing (second time!) via bsd.subdir.mk's rules makes no sense and only adds disk IO overhead. Some numbers... (for 'make -DENGLISH_ONLY -DWEB_ONLY' in www/en): [before] $ grep ^=== out.make | wc -l 272 $ grep ^=== out.make | sort -u | wc -l 78 [after] $ grep ^=== out.make | wc -l 78
This commit is contained in:
parent
cfdb9e95f7
commit
81bbb0a0ed
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=16878
1 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
# bsd.web.mk
|
||||
# $FreeBSD: www/share/mk/web.site.mk,v 1.43 2002/08/07 03:17:10 trhodes Exp $
|
||||
# $FreeBSD: www/share/mk/web.site.mk,v 1.44 2003/04/20 21:03:24 murray Exp $
|
||||
|
||||
#
|
||||
# Build and install a web site.
|
||||
|
@ -71,6 +71,12 @@ COPY= -C
|
|||
#
|
||||
PORTSBASE?= /usr
|
||||
|
||||
#
|
||||
# Instruction for bsd.subdir.mk to not to process SUBDIR directive.
|
||||
# It is not neccessary since web.site.mk do it too.
|
||||
#
|
||||
#NO_SUBDIR= YES
|
||||
|
||||
##################################################################
|
||||
# Transformation rules
|
||||
|
||||
|
|
Loading…
Reference in a new issue