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


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

1.8
date	2001.10.29.10.14.31;	author murray;	state Exp;
branches;
next	1.7;

1.7
date	2001.06.11.02.39.00;	author ache;	state Exp;
branches;
next	1.6;

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

1.5
date	99.09.15.20.37.10;	author wosch;	state Exp;
branches;
next	1.4;

1.4
date	99.09.06.07.02.45;	author peter;	state Exp;
branches;
next	1.3;

1.3
date	99.09.03.14.01.14;	author kuriyama;	state Exp;
branches;
next	1.2;

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

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


desc
@@


1.9
log
@Stop creating symlinks to the /FAQ and /handbook directories from the
actual directories under /doc.  This broke inter-document links if
you started at http://www.freebsd.org/{FAQ,handbook}, instead of the
longer .../doc/en_US.ISO8859-1/books/{faq,handbook}, and has caused a
steady stream of complaints to -doc.

Instead, have a static index.html in both those directories with a
http-equiv="refresh" that points people to the right place.

Adjust the build process to take account of this.
@
text
@# $FreeBSD: www/en/docproj/Makefile,v 1.9 2001/07/31 00:24:23 murray Exp $

.if exists(../Makefile.conf)
.include "../Makefile.conf"
.endif
.if exists(../Makefile.inc)
.include "../Makefile.inc"
.endif

DATA=   index.html 

.include "${WEB_PREFIX}/share/mk/web.site.mk"
@


1.8
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
@d1 1
a1 3
#
# $FreeBSD: www/en/handbook/Makefile,v 1.7 2001/06/11 02:39:00 ache Exp $
#
d10 1
a10 12
# At build time, we have to link to the doc/ directory at the same level
# as the www/ tree.
all:
	${LN} -fs ${.OBJDIR}/../../../doc/en_US.ISO8859-1/books/handbook/* .

# At install time the ../doc/ directory has been populated, so we can
# link in to there instead.
install:
	[ -d ${DOCINSTALLDIR} ] || ${MKDIR} ${DOCINSTALLDIR}
	cd ${DOCINSTALLDIR}; \
		${LN} -fs ../doc/en_US.ISO8859-1/books/handbook/* \
			  ${DOCINSTALLDIR}
a12 1

@


1.7
log
@ISO_ -> ISO rename
@
text
@d2 1
a2 1
# $FreeBSD: www/en/handbook/Makefile,v 1.6 2001/04/17 09:05:43 nik Exp $
d15 1
a15 1
	ln -fs ${.CURDIR}/../../../doc/en_US.ISO8859-1/books/handbook/* .
d20 4
a23 2
	[ -d ${DOCINSTALLDIR} ] || mkdir ${DOCINSTALLDIR}
	(cd ${DOCINSTALLDIR} && ln -fs ../doc/en_US.ISO8859-1/books/handbook/* ${DOCINSTALLDIR})
@


1.6
log
@Install all the documentation in to a single root, $WEBROOT/doc, with the
same naming scheme as that used by the doc/ repo.

Update docs.sgml to point to the documentation in this canonical location.

Update the FAQ/ and handbook/ directories to use symlinks to point to
the real documentation under doc/en_US.ISO_8859-1/.  This means that local
testing of the site (and mirrors) will still work as expected using the
legacy URLs.  Mirrors that expect to see a lot of traffic are advised to
alter their web server configuration so that $WEBROOT/FAQ and $WEBROOT/handbook
are redirected to $WEBROOT/doc/en_US.ISO_8859-1/books/{faq,handbook},
instead of relying on the symlinks.

Discussed on:	doc, www
@
text
@d2 1
a2 1
# $FreeBSD: www/en/FAQ/Makefile,v 1.4 1999/09/15 20:37:03 wosch Exp $
d15 1
a15 1
	ln -fs ${.CURDIR}/../../../doc/en_US.ISO_8859-1/books/handbook/* .
d21 1
a21 1
	(cd ${DOCINSTALLDIR} && ln -fs ../doc/en_US.ISO_8859-1/books/handbook/* ${DOCINSTALLDIR})
@


1.5
log
@Use the right make command: make -> ${MAKE}
@
text
@d2 1
a2 13
# $FreeBSD: www/en/handbook/Makefile,v 1.4 1999/09/06 07:02:45 peter Exp $
#
# Build the FreeBSD Handbook *outside* of the www tree, and install it
# in to the right place as necessary.
#
# The Handbook is no longer completely self contained in 
# doc/en_US.ISO_8859-1/books/handbook, (it requires support files outside of 
# this directory) and it is much simpler to build it outside the web tree 
# than it is to make a nest of symlinks to try and build it inside the tree.
#
# This assumes that you have the www/ and doc/ trees checked out beside
# one another -- this was always the case anyway, so there are no extra
# requirements here.
d5 20
a24 2
all install clean:
	(cd ../../../doc/en_US.ISO_8859-1/books/handbook && ${MAKE} FORMATS=html-split DESTDIR=${DESTDIR}/data/handbook ${.TARGET})
@


1.4
log
@$Id$,$Date$ -> $FreeBSD$
The jury is out on $Date$, but it's presently not being expanded..
@
text
@d2 1
a2 1
# $FreeBSD$
d18 1
a18 1
	(cd ../../../doc/en_US.ISO_8859-1/books/handbook && make FORMATS=html-split DESTDIR=${DESTDIR}/data/handbook ${.TARGET})
@


1.3
log
@Invoke next command if "cd" succeeded.

Not objected by:	Doc Team
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.2 1999/08/19 20:40:58 nik Exp $
@


1.2
log
@Directory names change to reflect doc/ repo change.  No longer need
to specific DOC_PREFIX on the command line either.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.1 1999/04/15 22:48:28 nik Exp $
d18 1
a18 1
	(cd ../../../doc/en_US.ISO_8859-1/books/handbook; make FORMATS=html-split DESTDIR=${DESTDIR}/data/handbook ${.TARGET})
@


1.1
log
@New Makefile.  This builds the FreeBSD Handbook outside of the main web
tree -- the previous method used symlinks to try and build the book
inside the tree.  The old method now fails because various support
files don't exist in the web tree.  Rather than creating a nest of
symlinks, this is a simpler approach.
@
text
@d2 1
a2 1
# $Id$
d7 4
a10 4
# The Handbook is no longer completely self contained in doc/en/handbook,
# (it requires support files outside of this directory) and it is much
# simpler to build it outside the web tree than it is to make a nest of
# symlinks to try and build it inside the tree.
d18 1
a18 1
	(cd ../../../doc/en/handbook; make FORMATS=html-split DOC_PREFIX=../../../doc DESTDIR=${DESTDIR} DOCDIR=/data VOLUME=handbook ${.TARGET})
@

