Apply .PHONY attribute to homepage.inc in !make(install) only. It avoids

rebuilding homepage.inc and dependent files at 'make install' stage.
This commit is contained in:
Alexey Zelkin 2004-04-06 11:38:02 +00:00
parent 0ab7983baa
commit 2337876ee8
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=20554

View file

@ -1,4 +1,4 @@
# $FreeBSD: www/en/internal/Makefile,v 1.38 2003/11/24 23:30:29 trhodes Exp $
# $FreeBSD: www/en/internal/Makefile,v 1.39 2004/03/10 09:09:18 linimon Exp $
.if exists(../Makefile.conf)
.include "../Makefile.conf"
@ -31,8 +31,10 @@ INDEXLINK= internal.html
hostname!= hostname
.if ${hostname} == "hub.freebsd.org" || ${hostname} == "freefall.freebsd.org" || ${hostname} == "www.freebsd.org"
DOCS+= homepage.sgml
.PHONY: homepage.inc
.if !make(install)
.PHONY: homepage.inc
.endif
homepage.inc: homepage.pl
${PERL} ${.CURDIR}/homepage.pl > ${.TARGET}