Don't build the /ports/ pages if WEB_ONLY is set. The ports pages are
automatically created from /usr/ports/INDEX and it does not make sense to test the ports pages (Note: WEB_ONLY is a debug variable for the webmaster, nothing else).
This commit is contained in:
parent
01f01019ea
commit
3a51524e71
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=5666
1 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,4 @@
|
|||
# $FreeBSD$
|
||||
|
||||
# $FreeBSD: www/en/Makefile,v 1.49 1999/09/06 07:02:36 peter Exp $
|
||||
.if exists(Makefile.conf)
|
||||
.include "Makefile.conf"
|
||||
.endif
|
||||
|
@ -40,9 +39,11 @@ SUBDIR+= internal
|
|||
SUBDIR+= copyright
|
||||
SUBDIR+= search
|
||||
SUBDIR+= gallery
|
||||
SUBDIR+= ports
|
||||
SUBDIR+= projects
|
||||
SUBDIR+= releases
|
||||
.if !defined(WEB_ONLY) || empty(WEB_ONLY)
|
||||
SUBDIR+= ports
|
||||
.endif
|
||||
|
||||
# Non-SGML
|
||||
SUBDIR+= gifs
|
||||
|
|
Loading…
Reference in a new issue