head	1.27;
access;
symbols
	HRS_XML_CLEANUP:1.25
	HRS_XML_CLEANUP_PRE:1.25
	EMILYBOYD_REDESIGN:1.25
	PRE_REDESIGN:1.25
	XML_XSL_XP:1.18.0.2
	XML_XSL_XP_BP:1.18;
locks; strict;
comment	@# @;


1.27
date	2009.08.13.06.43.07;	author remko;	state Exp;
branches;
next	1.26;

1.26
date	2007.09.12.16.49.37;	author keramida;	state Exp;
branches;
next	1.25;

1.25
date	2004.04.09.10.17.19;	author phantom;	state Exp;
branches;
next	1.24;

1.24
date	2003.12.05.20.00.18;	author blackend;	state Exp;
branches;
next	1.23;

1.23
date	2003.12.05.19.58.36;	author blackend;	state Exp;
branches;
next	1.22;

1.22
date	2003.11.14.21.02.53;	author blackend;	state Exp;
branches;
next	1.21;

1.21
date	2003.10.28.23.04.04;	author simon;	state Exp;
branches;
next	1.20;

1.20
date	2003.03.20.00.10.51;	author trhodes;	state Exp;
branches;
next	1.19;

1.19
date	2002.10.05.16.06.44;	author lioux;	state Exp;
branches;
next	1.18;

1.18
date	2001.04.25.18.01.30;	author wosch;	state Exp;
branches;
next	1.17;

1.17
date	2001.02.25.12.00.45;	author alex;	state Exp;
branches;
next	1.16;

1.16
date	2000.11.30.00.03.37;	author kuriyama;	state Exp;
branches;
next	1.15;

1.15
date	2000.11.08.01.15.39;	author kuriyama;	state Exp;
branches;
next	1.14;

1.14
date	2000.09.30.00.21.38;	author nbm;	state Exp;
branches;
next	1.13;

1.13
date	2000.02.28.13.15.53;	author phantom;	state Exp;
branches;
next	1.12;

1.12
date	2000.02.28.12.41.23;	author phantom;	state Exp;
branches;
next	1.11;

1.11
date	99.12.17.14.16.52;	author phantom;	state Exp;
branches;
next	1.10;

1.10
date	99.11.03.10.59.24;	author phantom;	state Exp;
branches;
next	1.9;

1.9
date	99.09.06.07.02.30;	author peter;	state Exp;
branches;
next	1.8;

1.8
date	99.08.29.16.53.23;	author nik;	state Exp;
branches;
next	1.7;

1.7
date	99.08.19.20.39.08;	author nik;	state Exp;
branches;
next	1.6;

1.6
date	99.05.03.14.36.15;	author kuriyama;	state Exp;
branches;
next	1.5;

1.5
date	99.04.15.22.46.38;	author nik;	state Exp;
branches;
next	1.4;

1.4
date	99.03.27.15.45.03;	author nik;	state Exp;
branches;
next	1.3;

1.3
date	99.02.03.13.25.29;	author wosch;	state Exp;
branches;
next	1.2;

1.2
date	98.12.30.17.53.56;	author wosch;	state Exp;
branches;
next	1.1;

1.1
date	98.08.04.15.13.17;	author wosch;	state Exp;
branches;
next	;


desc
@@


1.27
log
@Add support for ``make update''.

PR:		137564
Submitted by:	Sofian Brabez <sbrabez at gmail dot com>
@
text
@# $FreeBSD: www/Makefile,v 1.26 2007/09/12 16:49:37 keramida Exp $

WEB_PREFIX=	${.CURDIR}

SUBDIR= da \
		de \
		el \
		en \
		es \
		fr \
		hu \
		it \
		ja \
		mn \
		nl \
		pt_BR \
		ru \
		tr \
		zh_CN \
		zh_TW 

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>
@


1.26
log
@Tiny toplevel www/Makefile nit.

The <bsd.obj.mk> makefile include already pulls in <bsd.subdir.mk>,
so including the later again causes spurious warnings about targets
being redefined, like:

"/usr/share/mk/bsd.subdir.mk", line 57: warning: duplicate script for target "_SUBDIR" ignored
"/usr/share/mk/bsd.subdir.mk", line 66: warning: duplicate script for target "en" ignored
"/usr/share/mk/bsd.subdir.mk", line 84: warning: duplicate script for target "files" ignored
"/usr/share/mk/bsd.subdir.mk", line 84: warning: duplicate script for target "includes" ignored

Removing the extra <bsd.subdir.mk> include fixes this.
@
text
@d1 1
a1 1
# $FreeBSD: www/Makefile,v 1.25 2004/04/09 10:17:19 phantom Exp $
d5 16
a20 1
SUBDIR= en
d24 12
@


1.25
log
@Remove make(obj) magic.  web.site.mk and en/Makefile will to it for us.
@
text
@d1 1
a1 1
# $FreeBSD: www/Makefile,v 1.24 2003/12/05 20:00:18 blackend Exp $
a9 1
.include <bsd.subdir.mk>
@


1.24
log
@Add turkish (tr) files to the build.
@
text
@d1 1
a1 1
# $FreeBSD: www/Makefile,v 1.23 2003/12/05 19:58:36 blackend Exp $
a5 6

.if !defined(ENGLISH_ONLY) || empty(ENGLISH_ONLY)
.if make(obj)
SUBDIR+= da de es fr it ja pt_BR ru tr zh
.endif
.endif
@


1.23
log
@Sort languages.
@
text
@d1 1
a1 1
# $FreeBSD: www/Makefile,v 1.22 2003/11/14 21:02:53 blackend Exp $
d9 1
a9 1
SUBDIR+= da de es fr it ja pt_BR ru zh
@


1.22
log
@First step to www.FreeBSD.org/fr

Supported by:   FreeBSD-FR.org
@
text
@d1 1
a1 1
# $FreeBSD: www/Makefile,v 1.21 2003/10/28 23:04:04 simon Exp $
d9 1
a9 1
SUBDIR+= da fr it ja es ru zh de pt_BR
@


1.21
log
@Hook up the Danish documentation to the website build.
@
text
@d1 1
a1 1
# $FreeBSD: www/Makefile,v 1.20 2003/03/20 00:10:51 trhodes Exp $
d9 1
a9 1
SUBDIR+= da it ja es ru zh de pt_BR
@


1.20
log
@Add a website for the Italian readers.

Submitted by:	Alex Dupre <sysadmin@@alexdupre.com>
@
text
@d1 1
a1 1
# $FreeBSD: www/Makefile,v 1.19 2002/10/05 16:06:44 lioux Exp $
d9 1
a9 1
SUBDIR+= it ja es ru zh de pt_BR
@


1.19
log
@Connect pt_BR to build

Reviewed by:	ceri
@
text
@d1 1
a1 1
# $FreeBSD: www/Makefile,v 1.18 2001/04/25 18:01:30 wosch Exp $
d9 1
a9 1
SUBDIR+= ja es ru zh de pt_BR
@


1.18
log
@fix `make obj':

	don't build the non-english directories if the
	variable ENGLISH_ONLY=YES is set.
@
text
@d1 1
a1 1
# $FreeBSD: www/Makefile,v 1.17 2001/02/25 12:00:45 alex Exp $
d9 1
a9 1
SUBDIR+= ja es ru zh de
@


1.17
log
@Add de/ subdir.
@
text
@d1 1
a1 1
# $FreeBSD: www/Makefile,v 1.16 2000/11/30 00:03:37 kuriyama Exp $
d7 1
d10 1
@


1.16
log
@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
@
text
@d1 1
a1 1
# $FreeBSD: www/Makefile,v 1.15 2000/11/08 01:15:39 kuriyama Exp $
d8 1
a8 1
SUBDIR+= ja es ru zh
@


1.15
log
@Define WEB_PREFIX for this Makefile.

Pointed out by:	Mark Ovens <marko@@FreeBSD.org>
@
text
@d1 1
a1 1
# $FreeBSD: www/Makefile,v 1.14 2000/09/30 00:21:38 nbm Exp $
a4 9
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

d11 1
a11 40
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
@


1.14
log
@First (and very minor) changes on the way to make the www build
obj-clean.

This basically entails putting ${.CURDIR} in front of the occasional
source file, script, or directory.

Also adds '.include <bsd.obj.mk>' to web.mk so 'make obj' works.

Change gencommercial script to take a '-s' flag pointing to the source
directory, and the portindex script to take an optional additional
parameter indicating the source directory.

Add -D ${.CURDIR} to sgmlformat to follow includes properly.
@
text
@d1 3
a3 1
# $FreeBSD: www/Makefile,v 1.13 2000/02/28 13:15:53 phantom Exp $
@


1.13
log
@Fix typo: es->en
@
text
@d1 1
a1 1
# $FreeBSD: www/Makefile,v 1.12 2000/02/28 12:41:23 phantom Exp $
d14 4
d28 1
a28 1
	cd en; ln -sf ../ja
d31 1
a31 1
	cd en; ln -sf ../es
d34 1
a34 1
	cd en; ln -sf ../ru
d37 1
a37 1
	cd en; ln -sf ../zh
d40 1
a40 1
	cd ja; ln -sf ../en/web.mk
d43 1
a43 1
	cd es; ln -sf ../en/web.mk
d46 1
a46 1
	cd ru; ln -sf ../en/web.mk
d49 1
a49 1
	cd .;  ln -sf en/web.mk
d53 1
a53 1
	cd ../doc/en_US.ISO_8859-1; ln -sf ../../www/en/web.mk
d56 1
a56 1
	cd ../doc/en_US.ISO_8859-1; ln -sf ../../www/en/includes.sgml
d59 1
@


1.12
log
@Use general web.mk file (www/en/web.mk) for building Espanian web pages.

Ok'ed by: wosch
@
text
@d1 1
a1 1
# $FreeBSD: www/Makefile,v 1.11 1999/12/17 14:16:52 phantom Exp $
d39 1
a39 1
	cd es; ln -sf ../es/web.mk
@


1.11
log
@It is possible to build www/ tree separately now
(make -DWEB_ONLY is not failing anymore)
@
text
@d1 1
a1 1
# $FreeBSD: www/Makefile,v 1.10 1999/11/03 10:59:24 phantom Exp $
d3 2
a4 1
LINKS= 	en/ja en/es en/ru en/zh ja/web.mk ru/web.mk
d37 3
@


1.10
log
@Use www/en/web.mk instead of its copy stored in www/ru/ directory.
@
text
@d1 1
a1 1
# $FreeBSD: www/Makefile,v 1.9 1999/09/06 07:02:30 peter Exp $
d4 4
a7 1
LINKS+=	web.mk ../doc/en_US.ISO_8859-1/web.mk
d9 1
d43 1
d49 1
@


1.9
log
@$Id$,$Date$ -> $FreeBSD$
The jury is out on $Date$, but it's presently not being expanded..
@
text
@d1 1
a1 1
# $FreeBSD$
d3 1
a3 1
LINKS= 	en/ja en/es en/ru en/zh ja/web.mk 
d32 3
@


1.8
log
@Remove special symlink creation for ru/FAQ
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.7 1999/08/19 20:39:08 nik Exp $
@


1.7
log
@Reduce the number of symlinks that need to be created, as these will now
be real directories.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.6 1999/05/03 14:36:15 kuriyama Exp $
d4 1
a4 1
LINKS+=	web.mk ru/FAQ ../doc/en_US.ISO_8859-1/web.mk
a34 3

ru/FAQ:
	cd ru; ln -sf ../../doc/ru_RU.KOI8-R/FAQ
@


1.6
log
@Remove ja/handbook.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.5 1999/04/15 22:46:38 nik Exp $
d3 3
a5 3
LINKS= 	en/ja en/es en/ru en/zh en/tutorials ja/web.mk ja/FAQ en/FAQ
LINKS+=	web.mk es/FAQ ru/FAQ zh/FAQ ../doc/en/web.mk
LINKS+= ../doc/en/includes.sgml
a29 6
en/tutorials:
	cd en; ln -sf ../../doc/en/tutorials

en/FAQ:
	cd en; ln -sf ../../doc/FAQ

a32 3
ja/FAQ:
	cd ja; ln -sf ../../doc/ja/FAQ

a35 3
es/FAQ:
	cd es; ln -sf ../../doc/es/FAQ

d37 1
a37 4
	cd ru; ln -sf ../../doc/ru/FAQ

zh/FAQ:
	cd zh; ln -sf ../../doc/zh/FAQ
d39 2
a40 2
../doc/en/web.mk:
	cd ../doc/en; ln -sf ../../www/en/web.mk
d42 2
a43 2
../doc/en/includes.sgml:
	cd ../doc/en; ln -sf ../../www/en/includes.sgml
@


1.5
log
@Remove the en/handbook symlink instructions, this is now a real
directory.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.4 1999/03/27 15:45:03 nik Exp $
d4 1
a4 1
LINKS+=	ja/handbook web.mk es/FAQ ru/FAQ zh/FAQ ../doc/en/web.mk
a40 3

ja/handbook:
	cd ja; ln -sf ../../doc/ja/handbook
@


1.4
log
@Link the Handbook from doc/en/handbook (shiny new DocBook version)
instead of doc/handbook (old, nasty LinuxDoc version)
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.3 1999/02/03 13:25:29 wosch Exp $
d3 1
a3 1
LINKS= 	en/ja en/es en/ru en/zh en/tutorials ja/web.mk ja/FAQ en/FAQ en/handbook
a34 3

en/handbook:
	cd en; ln -sf ../../doc/en/handbook
@


1.3
log
@Added Chinese FAQ symlinks.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.2 1998/12/30 17:53:56 wosch Exp $
d37 1
a37 1
	cd en; ln -sf ../../doc/handbook
@


1.2
log
@Added russian FAQ.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.1 1998/08/04 15:13:17 wosch Exp $
d3 2
a4 2
LINKS= 	en/ja en/es en/ru en/tutorials ja/web.mk ja/FAQ en/FAQ en/handbook
LINKS+=	ja/handbook web.mk es/FAQ ru/FAQ ../doc/en/web.mk
d27 3
d56 3
@


1.1
log
@Create links for web build  script.
@
text
@d1 1
a1 1
# $Id$
d3 2
a4 2
LINKS= 	en/ja en/es en/tutorials ja/web.mk ja/FAQ en/FAQ en/handbook
LINKS+=	ja/handbook web.mk es/FAQ ../doc/en/web.mk
d24 3
d50 3
@

