head	1.37;
access;
symbols
	RELEASE_8_3_0:1.37
	RELEASE_9_0_0:1.37
	RELEASE_7_4_0:1.37
	RELEASE_8_2_0:1.37
	RELEASE_8_1_0:1.37
	RELEASE_7_3_0:1.36
	RELEASE_8_0_0:1.36
	RELEASE_7_2_0:1.36
	RELEASE_7_1_0:1.36
	RELEASE_6_4_0:1.36
	RELEASE_6_3_0:1.36
	RELEASE_7_0_0:1.36
	RELEASE_6_2_0:1.34
	RELEASE_5_5_0:1.34
	RELEASE_6_1_0:1.34
	RELEASE_6_0_0:1.34
	RELEASE_5_4_0:1.34
	RELEASE_4_11_0:1.34
	RELEASE_5_3_0:1.33
	RELEASE_4_10_0:1.32
	RELEASE_5_2_1:1.31
	RELEASE_5_2_0:1.31
	RELEASE_4_9_0:1.30
	RELEASE_5_1_0:1.30
	RELEASE_4_8_0:1.30
	RELEASE_5_0_0:1.28
	RELEASE_4_7_0:1.28
	RELEASE_4_6_2:1.26
	RELEASE_4_6_1:1.26
	RELEASE_4_6_0:1.26
	RELEASE_4_5_0:1.24
	RELEASE_4_4_0:1.21
	RELEASE_4_3_0:1.20
	RELEASE_4_2_0:1.20
	RELEASE_4_1_0:1.18
	RELEASE_3_5_0:1.18
	RELEASE_2_2_6:1.2
	RELEASE_2_2_5:1.1;
locks; strict;
comment	@# @;


1.37
date	2010.06.05.16.45.14;	author gabor;	state Exp;
branches;
next	1.36;

1.36
date	2007.04.15.15.24.48;	author gabor;	state Exp;
branches;
next	1.35;

1.35
date	2007.04.11.18.51.21;	author keramida;	state Exp;
branches;
next	1.34;

1.34
date	2004.09.27.00.26.48;	author josef;	state Exp;
branches;
next	1.33;

1.33
date	2004.09.26.05.20.34;	author hrs;	state Exp;
branches;
next	1.32;

1.32
date	2004.02.17.00.14.11;	author simon;	state Exp;
branches;
next	1.31;

1.31
date	2003.12.05.20.04.11;	author blackend;	state Exp;
branches;
next	1.30;

1.30
date	2003.03.09.22.20.00;	author blackend;	state Exp;
branches;
next	1.29;

1.29
date	2003.03.06.15.06.17;	author ru;	state Exp;
branches;
next	1.28;

1.28
date	2002.10.01.03.15.12;	author lioux;	state Exp;
branches;
next	1.27;

1.27
date	2002.09.26.18.20.38;	author blackend;	state Exp;
branches;
next	1.26;

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

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

1.24
date	2002.01.09.11.20.45;	author phantom;	state Exp;
branches;
next	1.23;

1.23
date	2002.01.05.19.57.30;	author phantom;	state Exp;
branches;
next	1.22;

1.22
date	2001.10.29.09.21.53;	author murray;	state Exp;
branches;
next	1.21;

1.21
date	2001.06.11.01.16.19;	author ache;	state Exp;
branches;
next	1.20;

1.20
date	2000.09.21.20.48.16;	author ben;	state Exp;
branches;
next	1.19;

1.19
date	2000.08.06.17.04.17;	author alex;	state Exp;
branches;
next	1.18;

1.18
date	2000.04.30.21.58.43;	author nik;	state Exp;
branches;
next	1.17;

1.17
date	99.12.16.02.22.16;	author billf;	state Exp;
branches;
next	1.16;

1.16
date	99.10.13.00.19.43;	author phantom;	state Exp;
branches;
next	1.15;

1.15
date	99.09.06.06.52.34;	author peter;	state Exp;
branches;
next	1.14;

1.14
date	99.09.03.17.24.37;	author nik;	state Exp;
branches;
next	1.13;

1.13
date	99.08.26.19.40.04;	author nik;	state Exp;
branches;
next	1.12;

1.12
date	99.08.19.20.31.25;	author nik;	state Exp;
branches;
next	1.11;

1.11
date	99.08.17.22.12.29;	author nik;	state Exp;
branches;
next	1.10;

1.10
date	99.08.16.22.09.03;	author nik;	state Exp;
branches;
next	1.9;

1.9
date	99.03.27.15.56.08;	author nik;	state Exp;
branches;
next	1.8;

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

1.7
date	99.02.10.12.54.59;	author jkh;	state Exp;
branches;
next	1.6;

1.6
date	99.02.02.14.51.45;	author jkh;	state Exp;
branches;
next	1.5;

1.5
date	99.01.30.23.24.12;	author vanilla;	state Exp;
branches;
next	1.4;

1.4
date	98.12.28.19.22.01;	author ache;	state Exp;
branches;
next	1.3;

1.3
date	98.07.20.17.18.49;	author nik;	state Exp;
branches;
next	1.2;

1.2
date	98.02.15.17.03.38;	author max;	state Exp;
branches;
next	1.1;

1.1
date	97.05.23.16.23.43;	author peter;	state Exp;
branches;
next	;


desc
@@


1.37
log
@- Switch to csup from cvsup. The src tree Makefile already switched
  4 years ago.

PR:		docs/133567
Submitted by:	Alex Kozlov <spam@@rm-rf.kiev.ua>
@
text
@# $FreeBSD$
#
# The user can override the default list of languages to build and install
# with the DOC_LANG variable.
# 
.if defined(DOC_LANG) && !empty(DOC_LANG)
SUBDIR = 	${DOC_LANG}
.else
SUBDIR =	en_US.ISO8859-1
SUBDIR+=	bn_BD.ISO10646-1
SUBDIR+=	da_DK.ISO8859-1
SUBDIR+=	de_DE.ISO8859-1
SUBDIR+=	el_GR.ISO8859-7
SUBDIR+=	es_ES.ISO8859-1
SUBDIR+=	fr_FR.ISO8859-1
SUBDIR+=	hu_HU.ISO8859-2
SUBDIR+=	it_IT.ISO8859-15
SUBDIR+=	ja_JP.eucJP
SUBDIR+=	mn_MN.UTF-8
SUBDIR+=	nl_NL.ISO8859-1
SUBDIR+=	pl_PL.ISO8859-2
SUBDIR+=	pt_BR.ISO8859-1
SUBDIR+=	ru_RU.KOI8-R
SUBDIR+=	sr_YU.ISO8859-2
SUBDIR+=	tr_TR.ISO8859-9
SUBDIR+=	zh_CN.GB2312
SUBDIR+=	zh_TW.Big5
.endif

DOC_PREFIX?=   ${.CURDIR}

SUP?=		/usr/bin/csup
SUPFLAGS?=	-L 2
.if defined(SUPHOST)
SUPFLAGS+=	-h ${SUPHOST}
.endif

CVS?=		/usr/bin/cvs
CVSFLAGS?=	-R -q

update:
.if defined(SUP_UPDATE)
.if !defined(DOCSUPFILE)
	@@${ECHO_CMD} "Error: Please define DOCSUPFILE before doing make update."
	@@exit 1
.endif
	@@${ECHODIR} "--------------------------------------------------------------"
	@@${ECHODIR} ">>> Running ${SUP}"
	@@${ECHODIR} "--------------------------------------------------------------"
	@@${SUP} ${SUPFLAGS} ${DOCSUPFILE}
.elif defined(CVS_UPDATE)
	@@${ECHODIR} "--------------------------------------------------------------"
	@@${ECHODIR} ">>> Updating ${.CURDIR} from cvs repository" ${CVSROOT}
	@@${ECHODIR} "--------------------------------------------------------------"
	cd ${.CURDIR}; ${CVS} ${CVSFLAGS} update -P -d
.else
	@@${ECHO_CMD} "Error: Please define either SUP_UPDATE or CVS_UPDATE first."
.endif

.include "${DOC_PREFIX}/share/mk/doc.project.mk"
@


1.36
log
@- Attach hu_HU.ISO8859-2 to the build

Approved by:	keramida (mentor)
@
text
@d32 2
a33 2
SUP?=		${PREFIX}/bin/cvsup
SUPFLAGS?=	-g -L 2 -P -
@


1.35
log
@Attach the mn_MN.UTF-8 doc tree to the build.  Thanks to blackend's
help, this is now fully buildable, so we can auto-build it too.
@
text
@d16 1
@


1.34
log
@Hook the dutch handbook into the build.
@
text
@d18 1
@


1.33
log
@Add a new translation: zh_CN.GB2312/books/handbook (Simplified Chinese).

Submitted by:	delphij
Obtained from:	The FreeBSD Simplified Chinese Project CVS
@
text
@d18 1
@


1.32
log
@Add Bangla translations to the build.
@
text
@d23 1
@


1.31
log
@Add Turkish docs to the build.
@
text
@d10 1
@


1.30
log
@Add da_DK.ISO8859-1 to the build.
@
text
@d21 1
@


1.29
log
@With CVS_UPDATE, use read-only repository mode by default.
@
text
@d10 1
@


1.28
log
@Finally connect pt_BR.ISO8859-1 to the build. Currently, only
books/faq is being built.

Reviewed by:	blackend, keramida,
		phantom (in principle)
Approved by:	phantom (mentor)
@
text
@d32 1
a32 1
CVSFLAGS?=	-q
@


1.27
log
@Add pl_PL.ISO8859-2 to the build.
@
text
@d17 1
@


1.26
log
@Connect el_GR.ISO8859-7 to the build.  It's been a while in the tree.
Having it on the web after the next www/ build sounds nice.
@
text
@d16 1
@


1.25
log
@Enable build of Serbian docs (sr_YU.ISO8859-2). We have already
few completely translated documents there.
@
text
@d11 1
@


1.24
log
@Switch from it_IT.ISO8859-1 to it_IT.ISO8859-15
@
text
@d16 1
@


1.23
log
@Add it_IT.ISO8859-1 to list of SUBDIRS. Yay!
@
text
@d13 1
a13 1
SUBDIR+=	it_IT.ISO8859-1
@


1.22
log
@Make build/install /usr/obj prefix clean.

Also fix several minor bugs here, such as leftover files not being
deleted after 'make clean'.

PR:		docs/31131
Submitted by:	Cyrille Lefevre <clefevre@@citeweb.net>
@
text
@d13 1
@


1.21
log
@ISO_* -> ISO* rename
@
text
@d1 1
a1 1
# $FreeBSD: doc/Makefile,v 1.20 2000/09/21 20:48:16 ben Exp $
d20 2
d25 4
d32 1
a32 1
	@@echo "Error: Please define DOCSUPFILE before doing make update."
d35 3
a37 3
	@@echo "--------------------------------------------------------------"
	@@echo ">>> Running ${SUP}"
	@@echo "--------------------------------------------------------------"
d40 4
a43 4
	@@echo "--------------------------------------------------------------"
	@@echo ">>> Updating ${.CURDIR} from cvs repository" ${CVSROOT}
	@@echo "--------------------------------------------------------------"
	cd ${.CURDIR}; cvs -q update -P -d
d45 1
a45 1
	@@echo "Error: Please define either SUP_UPDATE or CVS_UPDATE first."
d48 1
a48 1
.include "${DOC_PREFIX}/share/mk/doc.subdir.mk"
@


1.20
log
@Support ${SUPHOST}

PR:		21430
Submitted by:	Christian Weisgerber <naddy@@mips.inka.de>
@
text
@d1 1
a1 1
# $FreeBSD: doc/Makefile,v 1.19 2000/08/06 17:04:17 alex Exp $
d9 4
a12 4
SUBDIR =	en_US.ISO_8859-1
SUBDIR+=	de_DE.ISO_8859-1
SUBDIR+=	es_ES.ISO_8859-1
SUBDIR+=	fr_FR.ISO_8859-1
@


1.19
log
@Activate German translation.
@
text
@d1 1
a1 1
# $FreeBSD: doc/Makefile,v 1.18 2000/04/30 21:58:43 nik Exp $
d20 3
@


1.18
log
@List the French translation subdirectory.  Why I didn't do this months
ago I don't know.  Mea bozo, mea maxima bozo.

Profuse apologies to the French translation team for this balls up.
@
text
@d1 1
a1 1
# $FreeBSD: doc/Makefile,v 1.17 1999/12/16 02:22:16 billf Exp $
d10 1
@


1.17
log
@Add DOCSUPFILE, like PORTSSUPFILE. (ie 'make update' in /usr/doc)

PR:		docs/15439
Submitted by:	Christian Weisgerber <naddy@@mips.rhein-neckar.de>
Obtained from:	ports/Makefile
@
text
@d1 1
a1 1
# $FreeBSD: doc/Makefile,v 1.16 1999/10/13 00:19:43 phantom Exp $
d11 1
@


1.16
log
@Fix comment
@
text
@d1 1
a1 1
# $FreeBSD: doc/Makefile,v 1.15 1999/09/06 06:52:34 peter Exp $
d17 20
@


1.15
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 2
 $FreeBSD$

@


1.14
log
@Use doc.project.mk in place of docproj.docbook.mk.

Use the new ROOT_SYMLINKS variable where necessary.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.13 1999/08/26 19:40:04 nik Exp $
@


1.13
log
@Support using the DOC_LANG variable to specify which languages and
encodings to install.  It is synonymous with SUBDIR, and can probably
disappear when this functionality is 'tweaked' in the release build.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.12 1999/08/19 20:31:25 nik Exp $
d17 2
a18 1
.include <bsd.subdir.mk>
@


1.12
log
@Replace rs_SU.KOI8-R with ru_RU.KOI8-R.  The necessary repository work
has already been done by JDP.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.11 1999/08/17 22:12:29 nik Exp $
d3 7
d15 1
@


1.11
log
@Remove the FAQ/ directory, now that we have the beginnings of a DocBook
FAQ.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.10 1999/08/16 22:09:03 nik Exp $
d6 1
a6 1
SUBDIR+=	ru_SU.KOI8-R
@


1.10
log
@The new Makefile framework.  Does the right thing (pretty much) except
in the case of */FAQ/Makefile, because the FAQs are all in the wrong
place.  Things still install properly, but some of the directory paths
are hardcoded.  This will be going away ASAP.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.9 1999/03/27 15:56:08 nik Exp $
d3 1
a3 2
SUBDIR =	FAQ 
SUBDIR+=	en_US.ISO_8859-1
@


1.9
log
@Remove the handbook from the default list of subdirectories.  You need
to specify DOC_LANG=en to get the Handbook built as well.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.8 1999/03/12 22:25:16 nik Exp $
d3 6
a8 22
SUBDIR=	FAQ 

# List of all language-specific subdirs.
LANGSUBDIR=     en es ja ru zh

# If ALLLANG is defined, descend to all language-specific subdirs too.
# If ALLLANG is not defined, but DOC_LANG is defined and a subdirectory with
# that name exists, descend to that directory too.
# In either case, the default subdirectories are always traversed.

.if defined(ALLLANG)
SUBDIR+=	${LANGSUBDIR}
.elif defined(DOC_LANG)
.if exists(${.CURDIR}/${DOC_LANG})
SUBDIR+=	${DOC_LANG}
.endif
.endif

# Default output formats are ascii for troff documents, and 
# ascii and html for sgml documents.  
# To specify generate postscript versions of troff documents, use: 
#  make PRINTER=ps
@


1.8
log
@Add "en" to LANGSUBDIR. Doesn't do much yet (unless you build with
ALLLANG defined). Will do shortly. . .
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.7 1999/02/10 12:54:59 jkh Exp $
d3 1
a3 1
SUBDIR=	FAQ handbook
@


1.7
log
@I guess the zh stuff has improved enough to re-enter the default build,
though both it and the japanese handbook are currently spewing errors
during formatting; someone needs to look at that. :(
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.6 1999/02/02 14:51:45 jkh Exp $
d6 1
a6 1
LANGSUBDIR=     es ja ru zh
@


1.6
log
@Remove zh from build list until we make the FAQ install work in
-current.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.5 1999/01/30 23:24:12 vanilla Exp $
d6 1
a6 1
LANGSUBDIR=     es ja ru
@


1.5
log
@Activate zh.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.4 1998/12/28 19:22:01 ache Exp $
d6 1
a6 1
LANGSUBDIR=     es ja ru zh
@


1.4
log
@add ru subdir
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.3 1998/07/20 17:18:49 nik Exp $
d6 1
a6 1
LANGSUBDIR=     es ja ru
@


1.3
log
@Added the 'es' subdirectory to LANGSUBDIR, now that the Spanish translation
of the FAQ has been committed. Kudos to Jesus Rodriguez <jesusr@@ncsa.es>
for the translation.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.2 1998/02/15 17:03:38 max Exp $
d6 1
a6 1
LANGSUBDIR=	es ja
@


1.2
log
@Moving doc/ja_JP.EUC/* to doc/ja.  (Already repository copied.)

Also, this change to doc/Makefile now requires either ALLLANG is
defined or DOC_LANG=ja (instead of LANG=ja_JP.EUC) to build Japanese
documentation.
@
text
@d1 1
a1 1
# $Id: Makefile,v 1.1 1997/05/23 16:23:43 peter Exp $
d6 1
a6 1
LANGSUBDIR=	ja
@


1.1
log
@Supply a bmakefile based on the old share/doc/Makefile
@
text
@d1 1
a1 1
# $Id$
d6 1
a6 1
LANGSUBDIR=	ja_JP.EUC
d9 1
a9 1
# If ALLLANG is not defined, but LANG is defined and a subdirectory with
d15 3
a17 3
.elif defined(LANG)
.if exists(${.CURDIR}/${LANG})
SUBDIR+=	${LANG}
@
