Add support for ``make update''.
PR: 137564 Submitted by: Sofian Brabez <sbrabez at gmail dot com>
This commit is contained in:
parent
9a6a75c674
commit
d679216c4e
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=34611
1 changed files with 29 additions and 2 deletions
31
Makefile
31
Makefile
|
@ -1,9 +1,36 @@
|
||||||
# $FreeBSD: www/Makefile,v 1.25 2004/04/09 10:17:19 phantom Exp $
|
# $FreeBSD: www/Makefile,v 1.26 2007/09/12 16:49:37 keramida Exp $
|
||||||
|
|
||||||
WEB_PREFIX= ${.CURDIR}
|
WEB_PREFIX= ${.CURDIR}
|
||||||
|
|
||||||
SUBDIR= en
|
SUBDIR= da \
|
||||||
|
de \
|
||||||
|
el \
|
||||||
|
en \
|
||||||
|
es \
|
||||||
|
fr \
|
||||||
|
hu \
|
||||||
|
it \
|
||||||
|
ja \
|
||||||
|
mn \
|
||||||
|
nl \
|
||||||
|
pt_BR \
|
||||||
|
ru \
|
||||||
|
tr \
|
||||||
|
zh_CN \
|
||||||
|
zh_TW
|
||||||
|
|
||||||
links:
|
links:
|
||||||
|
|
||||||
|
update:
|
||||||
|
.if defined(SUPHOST)
|
||||||
|
SUPFLAGS+= -h ${SUPHOST}
|
||||||
|
.endif
|
||||||
|
update:
|
||||||
|
.if defined(SUP_UPDATE) && defined(WWWSUPFILE)
|
||||||
|
@echo "--------------------------------------------------------------"
|
||||||
|
@echo ">>> Running ${SUP}"
|
||||||
|
@echo "--------------------------------------------------------------"
|
||||||
|
@${SUP} ${SUPFLAGS} ${WWWSUPFILE}
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.obj.mk>
|
.include <bsd.obj.mk>
|
||||||
|
|
Loading…
Reference in a new issue