head	1.9;
access;
symbols
	RELEASE_8_3_0:1.9
	RELEASE_9_0_0:1.9
	RELEASE_7_4_0:1.9
	RELEASE_8_2_0:1.9
	RELEASE_8_1_0:1.9
	RELEASE_7_3_0:1.9
	RELEASE_8_0_0:1.9
	RELEASE_7_2_0:1.9
	RELEASE_7_1_0:1.9
	RELEASE_6_4_0:1.9
	RELEASE_6_3_0:1.9
	RELEASE_7_0_0:1.9
	RELEASE_6_2_0:1.9
	RELEASE_5_5_0:1.8
	RELEASE_6_1_0:1.8
	RELEASE_6_0_0:1.6
	RELEASE_5_4_0:1.6
	RELEASE_4_11_0:1.6
	RELEASE_5_3_0:1.6
	RELEASE_4_10_0:1.6
	RELEASE_5_2_1:1.6
	RELEASE_5_2_0:1.6
	RELEASE_4_9_0:1.6
	RELEASE_5_1_0:1.6
	RELEASE_4_8_0:1.6
	RELEASE_5_0_0:1.6
	RELEASE_4_7_0:1.6
	RELEASE_4_6_2:1.6
	RELEASE_4_6_1:1.6
	RELEASE_4_6_0:1.6
	RELEASE_4_5_0:1.6
	RELEASE_4_4_0:1.6
	RELEASE_4_3_0:1.6
	RELEASE_4_2_0:1.6
	RELEASE_4_1_0:1.6
	RELEASE_3_5_0:1.6;
locks; strict;
comment	@# @;


1.9
date	2006.07.11.13.18.28;	author hrs;	state Exp;
branches;
next	1.8;

1.8
date	2006.01.08.03.04.39;	author vanilla;	state Exp;
branches;
next	1.7;

1.7
date	2006.01.06.09.15.34;	author vanilla;	state Exp;
branches;
next	1.6;

1.6
date	99.09.06.06.53.40;	author peter;	state Exp;
branches;
next	1.5;

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

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

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

1.2
date	99.08.17.21.35.56;	author nik;	state Exp;
branches;
next	1.1;

1.1
date	99.01.30.23.23.13;	author vanilla;	state Exp;
branches;
next	;


desc
@@


1.9
log
@Use zh_TW instead of zh for ${COMPAT_SYMLINK} since we have zh_CN and
zh_TW now.
@
text
@# $FreeBSD$

SUBDIR = articles
SUBDIR += books

COMPAT_SYMLINK=	zh_TW

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


1.8
log
@A zh_TW.Big5 encoding translation of doc/en_US.ISO8859-1/articles/cvs-freebsd/.

Submitted by:	Jose Liang <jose at jose.idv.tw>
PR:		docs/91479
@
text
@d6 1
a6 1
COMPAT_SYMLINK = zh
@


1.7
log
@1: Update somepart of handbook/ports-handbook.
2: Add zh-tut, it's Chinese Tutorial from Taiwan.

Submitted by:   chinsan dot tw at gmail.com
PR:             docs/91380
@
text
@d3 1
a3 1
#SUBDIR = articles
@


1.6
log
@$Id$ -> $FreeBSD$
@
text
@d3 2
a4 1
SUBDIR = books
@


1.5
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.4 1999/08/26 19:42:13 nik Exp $
@


1.4
log
@When making the compatability symlink, do it in the parent directory
to both directories, and make it relative, rather than absolute.

This fixes the case where you might install the docs under one directory
/foo/bar/..., and then want to migrate them elsewhere (to /usr/share/).

With the old scheme, the symlink would start /foo/bar/..., and would
therefore be broken.

A good example of this happening is "make release" :-)
@
text
@d1 1
a1 1
#       $Id: Makefile,v 1.3 1999/08/19 20:36:02 nik Exp $
d7 2
a8 15
#
# Put the compatability symlink in place.
#
afterinstall:
.if !defined(IGNORE_COMPAT_SYMLINK)
	if [ ! -e ${DOCDIR}/${COMPAT_SYMLINK} ]; then			\
		rm -rf ${DOCDIR}/${COMPAT_SYMLINK};			\
		(cd ${DOCDIR} && ln -s zh_TW.Big5 ${COMPAT_SYMLINK});	\
	fi
.endif

.include <bsd.subdir.mk>

DOC_PREFIX = ..
.include "../share/mk/docproj.docbook.mk"
@


1.3
log
@Honour ${DOCDIR} when installing the documentation.
@
text
@d1 1
a1 1
#       $Id: Makefile,v 1.2 1999/08/17 21:35:56 nik Exp $
d14 1
a14 2
		ln -s ${DOCDIR}/zh_TW.Big5				\
		      ${DOCDIR}/${COMPAT_SYMLINK};			\
@


1.2
log
@More Makefile framework.  I don't know why CVS didn't commit these with
the other batch.
@
text
@d1 1
a1 1
#       $Id: Makefile,v 1.1 1999/03/08 21:43:32 nik Exp $
d3 1
a3 1
SUBDIR = FAQ
a6 7
# 
# XXX Kludge -- this directory probably doesn't exist yet.  Pull this out 
# when the FAQ is DocBook'ed
beforeinstall:
	[ -d /usr/local/share/doc/fdp/zh_TW.Big5/books/faq ] || \
		mkdir -p /usr/local/share/doc/fdp/zh_TW.Big5/books/faq

d12 4
a15 4
	if [ ! -e /usr/local/share/doc/fdp/${COMPAT_SYMLINK} ]; then	\
		rm -rf /usr/local/share/doc/fdp/${COMPAT_SYMLINK};	\
		ln -s /usr/local/share/doc/fdp/zh_TW.Big5		\
		      /usr/local/share/doc/fdp/${COMPAT_SYMLINK};	\
d20 3
@


1.1
log
@Add Makefile for doc/zh.
@
text
@d1 1
a1 2
#       From: @@(#)Makefile      8.1 (Berkeley) 6/5/93
#       $Id$
d4 21
@

