o Target "all" is gone away, only "links" lives in www/.

o Symbolic links for web.mk in each translations are removed.
o So building procedure is:

 - cd /usr/www; make obj	(optional)
 - cd /usr/www/en; make all

Submitted by:	nbm
Modified by:	kuriyama
This commit is contained in:
Jun Kuriyama 2000-11-30 00:03:37 +00:00
parent 61e47211ef
commit 5579f35824
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=8456
2 changed files with 4 additions and 53 deletions

View file

@ -1,62 +1,14 @@
# $FreeBSD: www/Makefile,v 1.14 2000/09/30 00:21:38 nbm Exp $
# $FreeBSD: www/Makefile,v 1.15 2000/11/08 01:15:39 kuriyama Exp $
WEB_PREFIX= ${.CURDIR}
LINKS= en/ja en/es en/ru en/zh
LINKS+= ja/web.mk es/web.mk ru/web.mk
LINKS+= web.mk
.if !defined(WEB_ONLY) || empty(WEB_ONLY)
LINKS+= ../doc/en_US.ISO_8859-1/web.mk
LINKS+= ../doc/en_US.ISO_8859-1/includes.sgml
.endif
SUBDIR= en
.if make(obj)
SUBDIR+= ja es ru zh
.endif
all: links
links: ${LINKS}
clean:
rm -f ${LINKS}
en/ja:
cd en; ln -sf ${.CURDIR}/ja
en/es:
cd en; ln -sf ${.CURDIR}/es
en/ru:
cd en; ln -sf ${.CURDIR}/ru
en/zh:
cd en; ln -sf ${.CURDIR}/zh
ja/web.mk:
cd ja; ln -sf ${.CURDIR}/en/web.mk
es/web.mk:
cd es; ln -sf ${.CURDIR}/en/web.mk
ru/web.mk:
cd ru; ln -sf ${.CURDIR}/en/web.mk
web.mk:
cd .; ln -sf ${.CURDIR}/en/web.mk
.if !defined(WEB_ONLY) || empty(WEB_ONLY)
../doc/en_US.ISO_8859-1/web.mk:
cd ../doc/en_US.ISO_8859-1; ln -sf ${.CURDIR}/en/web.mk
../doc/en_US.ISO_8859-1/includes.sgml:
cd ../doc/en_US.ISO_8859-1; ln -sf ${.CURDIR}/en/includes.sgml
.endif
links:
.include <bsd.obj.mk>
.include <bsd.subdir.mk>

View file

@ -1,4 +1,4 @@
# $FreeBSD: www/en/Makefile,v 1.55 2000/11/07 07:37:55 kuriyama Exp $
# $FreeBSD: www/en/Makefile,v 1.56 2000/11/24 22:55:39 murray Exp $
.if exists(Makefile.conf)
.include "Makefile.conf"
.endif
@ -61,8 +61,7 @@ WEB_LANG?= ja es ru zh
.if !defined(ENGLISH_ONLY) || empty(ENGLISH_ONLY)
.for DIR in ${WEB_LANG}
#SUBDIR+= ../${DIR}
SUBDIR+= ${DIR}
SUBDIR+= ../${DIR}
.endfor
.endif