From 5579f3582422d9bf9cff5af645369f3b963da7c3 Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Thu, 30 Nov 2000 00:03:37 +0000 Subject: [PATCH] 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 --- Makefile | 52 ++-------------------------------------------------- en/Makefile | 5 ++--- 2 files changed, 4 insertions(+), 53 deletions(-) diff --git a/Makefile b/Makefile index 36b8168411..2867535ffb 100644 --- a/Makefile +++ b/Makefile @@ -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 .include diff --git a/en/Makefile b/en/Makefile index ed90efe964..031c2f34dc 100644 --- a/en/Makefile +++ b/en/Makefile @@ -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