head	1.10;
access;
symbols
	RELEASE_8_3_0:1.10
	RELEASE_9_0_0:1.10
	RELEASE_7_4_0:1.10
	RELEASE_8_2_0:1.10
	RELEASE_8_1_0:1.10
	RELEASE_7_3_0:1.10
	RELEASE_8_0_0:1.10
	RELEASE_7_2_0:1.10
	RELEASE_7_1_0:1.10
	RELEASE_6_4_0:1.10
	RELEASE_6_3_0:1.10
	RELEASE_7_0_0:1.10
	RELEASE_6_2_0:1.10
	RELEASE_5_5_0:1.10
	RELEASE_6_1_0:1.10
	RELEASE_6_0_0:1.10
	RELEASE_5_4_0:1.10
	RELEASE_4_11_0:1.10
	RELEASE_5_3_0:1.10
	RELEASE_4_10_0:1.10
	RELEASE_5_2_1:1.9
	RELEASE_5_2_0:1.7
	RELEASE_4_9_0:1.7
	RELEASE_5_1_0:1.7
	RELEASE_4_8_0:1.7
	RELEASE_5_0_0:1.7
	RELEASE_4_7_0:1.7
	RELEASE_4_6_2:1.7
	RELEASE_4_6_1:1.7
	RELEASE_4_6_0:1.7
	RELEASE_4_5_0:1.7
	RELEASE_4_4_0:1.7
	old_RELEASE_4_3_0:1.7
	old_RELEASE_4_2_0:1.7
	old_RELEASE_4_1_0:1.7
	old_RELEASE_3_5_0:1.7;
locks; strict;
comment	@# @;


1.10
date	2004.02.12.17.17.18;	author jesusr;	state Exp;
branches;
next	1.9;

1.9
date	2004.01.17.13.44.49;	author jesusr;	state Exp;
branches;
next	1.8;

1.8
date	2004.01.17.02.33.52;	author jesusr;	state Exp;
branches;
next	1.7;

1.7
date	99.09.06.06.53.13;	author peter;	state Exp;
branches;
next	1.6;

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

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

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

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

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

1.1
date	98.07.20.17.16.21;	author nik;	state Exp;
branches;
next	;


desc
@@


1.10
log
@Really enable the Spanish articles build!!
@
text
@# $FreeBSD$

SUBDIR = articles
SUBDIR+= books

COMPAT_SYMLINK = es

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


1.9
log
@Disable articles and unbreak web build.
@
text
@d3 2
a4 1
SUBDIR = books
@


1.8
log
@Add articles section to the usual build.
@
text
@d3 1
a3 2
SUBDIR = articles
SUBDIR+= books
@


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


1.6
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.5 1999/08/26 19:42:11 nik Exp $
@


1.5
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.4 1999/08/19 20:35:57 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 es_ES.ISO_8859-1 ${COMPAT_SYMLINK}); \
	fi
.endif

.include <bsd.subdir.mk>

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


1.4
log
@Honour ${DOCDIR} when installing the documentation.
@
text
@d1 1
a1 1
#       $Id: Makefile,v 1.3 1999/08/19 00:08:37 nik Exp $
d14 1
a14 2
		ln -s ${DOCDIR}/es_ES.ISO_8859-1 			\
			${DOCDIR}/${COMPAT_SYMLINK}; 			\
@


1.3
log
@Remove FAQ/ directory, add books/ directory.
@
text
@d1 1
a1 1
#       $Id: Makefile,v 1.2 1999/08/16 22:09:13 nik Exp $
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/es_ES.ISO_8859-1/books/faq ] || \
		mkdir -p /usr/local/share/doc/fdp/es_ES.ISO_8859-1/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/es_ES.ISO_8859-1		\
		      /usr/local/share/doc/fdp/${COMPAT_SYMLINK};	\
d20 3
@


1.2
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 $
d3 1
a3 1
SUBDIR = FAQ
@


1.1
log
@Added this Makefile to reference the Spanish FAQ.
@
text
@d1 1
a1 2
#       From: @@(#)Makefile      8.1 (Berkeley) 6/5/93
#       $Id$
d4 21
@

