head	1.1;
access;
symbols
	HRS_XML_CLEANUP:1.1
	HRS_XML_CLEANUP_PRE:1.1
	EMILYBOYD_REDESIGN:1.1
	PRE_REDESIGN:1.1;
locks; strict;
comment	@# @;


1.1
date	2002.12.11.17.53.53;	author gioria;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Prepare release notes to be build as part of the French Web Site

Based on: mail of Udo in -doc
@
text
@#
# Web site build hooks for the release notes.  Also see the README file.
#
# The variable RELNOTES (I couldn't think of a better name) is a poor
# man's list.  Its semantics are very similar to that of MLINKS (see
# bsd.man.mk).  The first word is the directory under which that set
# of relnotes should appear on the web site.  The second word is the
# path to that relnotes set.
#
# $FreeBSD$
# Original Revision: 1.5 
#

RELNOTES?=	CURRENT ${.CURDIR}/../../../relnotes/doc/fr_FR.ISO8859-1 \
		4-STABLE ${.CURDIR}/../../../relnotes4/doc/fr_FR.ISO8859-1

all install clean obj:
	@@set ${RELNOTES}; \
	while :; do \
		case $$# in \
			0) break;; \
			1) ${ECHO_CMD} "bad \$$RELNOTES value"; false; break;; \
		esac; \
		webname=$$1; shift; realpath=$$1; shift; \
		(unset DESTDIR || true; \
			cd $$realpath && ${MAKE} \
				FORMATS=html\ html-split \
				DOCDIR=${DESTDIR}/data/fr/${.CURDIR:T}/$$webname \
				DOC_PREFIX=${.CURDIR}/../../../doc \
				DIRPRFX=${.CURDIR:T}/$$webname/ \
				NO_LANGCODE_IN_DESTDIR=true \
				${.TARGET}); \
	done;
@
