From 7cfacc489626392a086d32ba6cb88a547af32b43 Mon Sep 17 00:00:00 2001 From: Alexey Zelkin Date: Fri, 17 Dec 1999 14:16:56 +0000 Subject: [PATCH] It is possible to build www/ tree separately now (make -DWEB_ONLY is not failing anymore) --- Makefile | 10 ++++++++-- zh/Makefile | 5 ++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 6cb4f63d47..27de229503 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,12 @@ -# $FreeBSD: www/Makefile,v 1.9 1999/09/06 07:02:30 peter Exp $ +# $FreeBSD: www/Makefile,v 1.10 1999/11/03 10:59:24 phantom Exp $ LINKS= en/ja en/es en/ru en/zh ja/web.mk ru/web.mk -LINKS+= web.mk ../doc/en_US.ISO_8859-1/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 @@ -36,10 +40,12 @@ ru/web.mk: web.mk: cd .; ln -sf 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 ../../www/en/web.mk ../doc/en_US.ISO_8859-1/includes.sgml: cd ../doc/en_US.ISO_8859-1; ln -sf ../../www/en/includes.sgml +.endif .include diff --git a/zh/Makefile b/zh/Makefile index 750467056c..e38f140e27 100644 --- a/zh/Makefile +++ b/zh/Makefile @@ -1,6 +1,9 @@ -# $FreeBSD$ +# $FreeBSD: www/zh/Makefile,v 1.2 1999/09/06 07:03:31 peter Exp $ +.if !defined(WEB_ONLY) || empty(WEB_ONLY) DOCSUBDIR= FAQ +.endif + SGMLOPTS= -links -hdr ${.CURDIR}/doc.hdr -ftr ${.CURDIR}/doc.ftr SGMLOPTS+=-e big5 FORMATS= "html ps"