head	1.16;
access;
symbols
	RELEASE_8_3_0:1.16
	RELEASE_9_0_0:1.16
	RELEASE_7_4_0:1.16
	RELEASE_8_2_0:1.16
	RELEASE_8_1_0:1.16
	RELEASE_7_3_0:1.16
	RELEASE_8_0_0:1.16
	RELEASE_7_2_0:1.16
	RELEASE_7_1_0:1.16
	RELEASE_6_4_0:1.16
	RELEASE_6_3_0:1.16
	RELEASE_7_0_0:1.16
	RELEASE_6_2_0:1.16
	RELEASE_5_5_0:1.16
	RELEASE_6_1_0:1.16
	RELEASE_6_0_0:1.16
	RELEASE_5_4_0:1.14
	RELEASE_4_11_0:1.14
	RELEASE_5_3_0:1.14
	RELEASE_4_10_0:1.14
	RELEASE_5_2_1:1.14
	RELEASE_5_2_0:1.14
	RELEASE_4_9_0:1.14
	RELEASE_5_1_0:1.14
	RELEASE_4_8_0:1.14
	RELEASE_5_0_0:1.14
	RELEASE_4_7_0:1.14
	RELEASE_4_6_2:1.14
	RELEASE_4_6_1:1.14
	RELEASE_4_6_0:1.14
	RELEASE_4_5_0:1.14
	RELEASE_4_4_0:1.13
	RELEASE_4_3_0:1.13
	RELEASE_4_2_0:1.13
	RELEASE_4_1_0:1.13
	RELEASE_3_5_0:1.13
	ja_2_2_6:1.5
	ja_2_2_5:1.3
	oldRELENG_2_2_2_RELEASE:1.1.2.1
	oldRELENG_2_2_1_RELEASE:1.1.2.1
	oldRELENG_2_2_0_RELEASE:1.1.2.1
	oldRELENG_2_2:1.1.0.2;
locks; strict;
comment	@# @;


1.16
date	2005.10.07.05.29.52;	author hrs;	state Exp;
branches;
next	1.15;

1.15
date	2005.07.30.13.48.40;	author hrs;	state Exp;
branches;
next	1.14;

1.14
date	2002.01.01.14.35.43;	author hrs;	state Exp;
branches;
next	1.13;

1.13
date	2000.01.06.07.23.03;	author kuriyama;	state Exp;
branches;
next	1.12;

1.12
date	99.09.06.06.53.16;	author peter;	state Exp;
branches;
next	1.11;

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

1.10
date	99.08.31.15.00.01;	author kuriyama;	state Exp;
branches;
next	1.9;

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

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

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

1.6
date	99.08.16.22.09.11;	author nik;	state Exp;
branches;
next	1.5;

1.5
date	98.02.25.04.32.56;	author hanai;	state Exp;
branches;
next	1.4;

1.4
date	97.11.17.15.58.15;	author max;	state Exp;
branches;
next	1.3;

1.3
date	97.02.22.13.00.32;	author peter;	state Exp;
branches;
next	1.2;

1.2
date	97.01.14.06.27.10;	author jkh;	state Exp;
branches;
next	1.1;

1.1
date	96.12.18.07.14.37;	author asami;	state Exp;
branches
	1.1.2.1;
next	;

1.1.2.1
date	97.03.15.23.31.32;	author jkh;	state Exp;
branches;
next	;


desc
@@


1.16
log
@Fix $COMPAT_SYMLINK for ja_JP.eucJP.
@
text
@# $FreeBSD$
#
# Original revision: 1.5
#

SUBDIR = articles
SUBDIR+= books

.if defined(WITH_JPMAN)
SUBDIR+= man
.endif

COMPAT_SYMLINK = ja

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


1.15
log
@Disable build of doc/ja_JP.eucJP/man directory by default.
@
text
@d13 1
a13 1
COMPAT_SYMLINK = ja_JP.eucJP
@


1.14
log
@Add NO_JPMAN flag to activate www/ja/doc (however, I do not
think that it should be a negative option).
@
text
@d8 2
a9 1
.if !defined(NO_JPMAN)
@


1.13
log
@Activate articles.
@
text
@d1 1
a1 1
# $FreeBSD: doc/ja_JP.eucJP/Makefile,v 1.12 1999/09/06 06:53:16 peter Exp $
d8 1
d10 1
@


1.12
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
d6 2
a7 1
SUBDIR = books
@


1.11
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.10 1999/08/31 15:00:01 kuriyama Exp $
@


1.10
log
@MFen:
	1.1  -> 1.5	Makefile
	1.1  -> 1.4	books/faq/Makefile
	1.21 -> 1.24	books/handbook/Makefile
@
text
@d1 1
a1 1
#       $Id: Makefile,v 1.9 1999/08/28 10:15:02 nik Exp $
d11 2
a12 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 ja ${COMPAT_SYMLINK});		\
	fi
.endif

.include <bsd.subdir.mk>

DOC_PREFIX?= ..
.include "${DOC_PREFIX}/share/mk/docproj.docbook.mk"
@


1.9
log
@Remove "FAQ" from SUBDIR.  We'll keep the old FAQ around for a couple of
days before cvs remove'ing it, just in case.
@
text
@d1 4
a4 1
#       $Id: Makefile,v 1.8 1999/08/26 19:42:11 nik Exp $
d24 2
a25 2
DOC_PREFIX = ..
.include "../share/mk/docproj.docbook.mk"
@


1.8
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.7 1999/08/19 20:35:58 nik Exp $
a4 1
SUBDIR+= FAQ
@


1.7
log
@Honour ${DOCDIR} when installing the documentation.
@
text
@d1 1
a1 1
#       $Id: Makefile,v 1.6 1999/08/16 22:09:11 nik Exp $
d16 1
a16 2
		ln -s ${DOCDIR}/ja					\
		      ${DOCDIR}/${COMPAT_SYMLINK};			\
@


1.6
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.1 1999/03/08 21:43:32 nik Exp $
a8 5
# XXX Kludge -- pull this out when the FAQ is in DocBook
beforeinstall:
	[ -d /usr/local/share/doc/fdp/ja/books/faq ] || \
		mkdir -p /usr/local/share/doc/fdp/ja/books/faq

d14 4
a17 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/ja			\
		      /usr/local/share/doc/fdp/${COMPAT_SYMLINK};	\
d22 3
@


1.5
log
@Japanese online manuals will be imported soon in doc/ja/man
Submitted by: Kazuo Horikawa <horikawa@@isrd.hitachi.co.jp>
@
text
@d1 1
a1 2
#       From: @@(#)Makefile      8.1 (Berkeley) 6/5/93
#       $Id: Makefile,v 1.4 1997/11/17 15:58:15 max Exp $
d3 2
a4 1
SUBDIR = handbook
d6 19
a24 1
SUBDIR+= man
@


1.4
log
@Add FAQ.
@
text
@d2 1
a2 1
#       $Id: Makefile,v 1.3 1997/02/22 13:00:32 peter Exp $
d6 1
@


1.3
log
@Revert $FreeBSD$ back to $Id$
@
text
@d2 1
a2 1
#       $Id$
d4 2
a5 1
SUBDIR= handbook
@


1.2
log
@Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
@
text
@d2 1
a2 1
#       $FreeBSD$
@


1.1
log
@Add support for NLS document building.

Here's the logic (mostly suggested by John Fieber):

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

Right now there's only one subdirectory (ja_JP.EUC) with one document
(handbook).  Note these changes won't do anything if you don't have ALLLANG
defined or LANG set to ja_JP.EUC.

The make world for releases is expected to define ALLLANG, so all language-
specific documentation can be built (and be put in appropriate *dists).

This should be in 2.2.
@
text
@d2 1
a2 1
#       $Id$
@


1.1.2.1
log
@Merge from -current (modulo the release string, which is set to 2.2. in this
branch).
@
text
@d2 1
a2 1
#       $Id: Makefile,v 1.3 1997/02/22 13:00:32 peter Exp $
@
