head	1.8;
access;
symbols
	HRS_XML_CLEANUP:1.8
	HRS_XML_CLEANUP_PRE:1.8
	EMILYBOYD_REDESIGN:1.8
	PRE_REDESIGN:1.8
	XML_XSL_XP:1.6.0.2
	XML_XSL_XP_BP:1.6;
locks; strict;
comment	@# @;


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

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

1.6
date	2001.06.11.02.38.58;	author ache;	state Exp;
branches;
next	1.5;

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

1.4
date	99.09.15.20.37.03;	author wosch;	state Exp;
branches;
next	1.3;

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

1.2
date	99.09.03.14.01.12;	author kuriyama;	state Exp;
branches;
next	1.1;

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


desc
@@


1.8
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.7
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 5
#
# $FreeBSD: www/en/FAQ/Makefile,v 1.6 2001/06/11 02:38:58 ache Exp $
#
# Build the FreeBSD FAQ *outside* of the www tree, and install it
# in to the right place as necessary.
d10 1
a10 11
# 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/faq/* .

# At install time the www/en/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/faq/* ${DOCINSTALLDIR}
a12 1

@


1.6
log
@ISO_ -> ISO rename
@
text
@d2 1
a2 1
# $FreeBSD: www/en/FAQ/Makefile,v 1.5 2001/04/17 09:05:42 nik Exp $
d17 1
a17 1
	ln -fs ${.CURDIR}/../../../doc/en_US.ISO8859-1/books/faq/* .
d22 3
a24 2
	[ -d ${DOCINSTALLDIR} ] || mkdir ${DOCINSTALLDIR}
	(cd ${DOCINSTALLDIR} && ln -fs ../doc/en_US.ISO8859-1/books/faq/* ${DOCINSTALLDIR})
@


1.5
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 $
d17 1
a17 1
	ln -fs ${.CURDIR}/../../../doc/en_US.ISO_8859-1/books/faq/* .
d23 1
a23 1
	(cd ${DOCINSTALLDIR} && ln -fs ../doc/en_US.ISO_8859-1/books/faq/* ${DOCINSTALLDIR})
@


1.4
log
@Use the right make command: make -> ${MAKE}
@
text
@d2 1
a2 1
# $FreeBSD: www/en/FAQ/Makefile,v 1.3 1999/09/06 07:02:39 peter Exp $
d7 2
a8 4
all install clean:
	(cd ../../../doc/en_US.ISO_8859-1/books/faq && ${MAKE} 'FORMATS=html-split html' DESTDIR=${DESTDIR}/data/FAQ ${.TARGET})
.if make(install)
	(cd ${DESTDIR}/data/FAQ; ln -sf index.html FAQ.html)
d10 17
@


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


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

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


1.1
log
@Makefile framework to pull the DocBook FAQ in to the web site.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.1 1999/04/15 22:48:28 nik Exp $
d8 1
a8 1
	(cd ../../../doc/en_US.ISO_8859-1/books/faq; make 'FORMATS=html-split html' DESTDIR=${DESTDIR}/data/FAQ ${.TARGET})
@

