Add new variable WEB_LANG. If set and not empty,

build the specified language page and English page.
This commit is contained in:
Motoyuki Konno 1999-02-10 14:53:59 +00:00
parent 8e4359e2a7
commit a58e5f25c6
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=4278

View file

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.47 1999-02-03 14:02:57 wosch Exp $ # $Id: Makefile,v 1.48 1999-02-10 14:53:59 motoyuki Exp $
.if exists(Makefile.conf) .if exists(Makefile.conf)
.include "Makefile.conf" .include "Makefile.conf"
@ -50,10 +50,14 @@ SUBDIR+= cgi
# Non-English # Non-English
.if !defined(ENGLISH_ONLY) || empty(ENGLISH_ONLY) .if !defined(ENGLISH_ONLY) || empty(ENGLISH_ONLY)
.if !defined(WEB_LANG) || empty(WEB_LANG)
SUBDIR+= ja SUBDIR+= ja
SUBDIR+= es SUBDIR+= es
SUBDIR+= ru SUBDIR+= ru
SUBDIR+= zh SUBDIR+= zh
.else
SUBDIR+= ${WEB_LANG}
.endif
.endif .endif
.if !defined(WEB_ONLY) || empty(WEB_ONLY) .if !defined(WEB_ONLY) || empty(WEB_ONLY)