head	1.9;
access;
symbols
	HRS_XML_CLEANUP:1.7
	HRS_XML_CLEANUP_PRE:1.7
	EMILYBOYD_REDESIGN:1.7
	PRE_REDESIGN:1.7
	XML_XSL_XP:1.4.0.2
	XML_XSL_XP_BP:1.4;
locks; strict;
comment	@# @;


1.9
date	2011.05.02.20.54.26;	author blackend;	state Exp;
branches;
next	1.8;

1.8
date	2008.10.05.10.17.00;	author simon;	state Exp;
branches;
next	1.7;

1.7
date	2005.07.15.15.42.09;	author hrs;	state Exp;
branches;
next	1.6;

1.6
date	2004.08.22.21.39.31;	author hrs;	state Exp;
branches;
next	1.5;

1.5
date	2001.10.29.10.14.32;	author murray;	state Exp;
branches;
next	1.4;

1.4
date	2001.09.09.15.32.29;	author dd;	state Exp;
branches;
next	1.3;

1.3
date	2001.08.30.06.59.55;	author dd;	state Exp;
branches;
next	1.2;

1.2
date	2001.06.14.23.21.03;	author dd;	state Exp;
branches;
next	1.1;

1.1
date	2001.05.25.05.08.03;	author dd;	state Exp;
branches;
next	;


desc
@@


1.9
log
@Attempt to hook up 8-STABLE relnotes.
@
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: www/en/relnotes/Makefile,v 1.8 2008/10/05 10:17:00 simon Exp $
#

RELNOTES?=	CURRENT ${.CURDIR}/../../../relnotes/doc \
		8-STABLE ${.CURDIR}/../../../relnotes8/doc \
		7-STABLE ${.CURDIR}/../../../relnotes7/doc \
		6-STABLE ${.CURDIR}/../../../relnotes6/doc

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/${.CURDIR:T}/$$webname \
				DOC_PREFIX=${.CURDIR}/../../../doc \
				DIRPRFX=${.CURDIR:T}/$$webname/ \
				NO_LANGCODE_IN_DESTDIR=true \
				${.TARGET}); \
	done;
@


1.8
log
@Build release notes for FreeBSD 6, 7, and 8 instead of older releases.

webupdate script on www.FreeBSD.org has been updated to support this.
@
text
@d10 1
a10 1
# $FreeBSD: www/en/relnotes/Makefile,v 1.7 2005/07/15 15:42:09 hrs Exp $
d14 1
@


1.7
log
@Hook up the 6-STABLE release documentation to the build.
@
text
@d10 1
a10 1
# $FreeBSD: www/en/relnotes/Makefile,v 1.6 2004/08/22 21:39:31 hrs Exp $
d14 2
a15 3
		6-STABLE ${.CURDIR}/../../../relnotes6/doc \
		5-STABLE ${.CURDIR}/../../../relnotes5/doc \
		4-STABLE ${.CURDIR}/../../../relnotes4/doc
@


1.6
log
@Activate 5-STABLE relnotes build.
@
text
@d10 1
a10 1
# $FreeBSD: www/en/relnotes/Makefile,v 1.5 2001/10/29 10:14:32 murray Exp $
d14 1
@


1.5
log
@* Make build/install of www /usr/obj prefix clean.
* Use make variables instead of hard coding commands, paths, and
  options.
* Wrap some long lines.
* Replace shell loops with make for loops, etc.

PR:		docs/31132
Submitted by:	Cyrille Lefevre <clefevre@@citeweb.net>
@
text
@d10 1
a10 1
# $FreeBSD: www/en/relnotes/Makefile,v 1.4 2001/09/09 15:32:29 dd Exp $
d14 1
@


1.4
log
@Set NO_LANGCODE_IN_DESTDIR.
@
text
@d10 1
a10 1
# $FreeBSD: www/en/relnotes/Makefile,v 1.3 2001/08/30 06:59:55 dd Exp $
d13 1
a13 1
RELNOTES=	CURRENT ${.CURDIR}/../../../relnotes/doc \
d21 1
a21 1
			1) echo "bad \$$RELNOTES value"; false; break;; \
@


1.3
log
@Adjust the RELNOTES variable to reflect where webupdate checks out the
release notes.
@
text
@d10 1
a10 1
# $FreeBSD: www/en/relnotes/Makefile,v 1.2 2001/06/14 23:21:03 dd Exp $
d30 1
@


1.2
log
@Explicitly set DOC_PREFIX in the child make invocation.  This helps
fix the case where the release notes are not exactly three levels
below in "something/something-else/doc" (if that's not the case,
doc.relnotes.mk would be unable to find the right path to the doc/
tree).
@
text
@d10 1
a10 1
# $FreeBSD: www/en/relnotes/Makefile,v 1.1 2001/05/25 05:08:03 dd Exp $
d13 2
a14 1
RELNOTES=	CURRENT ${.CURDIR}/../../../src/release/doc
@


1.1
log
@Add infrastructure necessary to build the release notes with the web
site.  This is currently conditional on BUILD_RELNOTES being set,
which it isn't by default.  See the README for more information.

Discussed with:	bmah
@
text
@d10 1
a10 1
# $FreeBSD$
d27 1
@

