head	1.12;
access;
symbols
	HRS_XML_CLEANUP:1.12
	HRS_XML_CLEANUP_PRE:1.12
	EMILYBOYD_REDESIGN:1.12
	PRE_REDESIGN:1.12
	XML_XSL_XP:1.12.0.2
	XML_XSL_XP_BP:1.12;
locks; strict;
comment	@# @;


1.12
date	2001.08.01.21.54.18;	author nik;	state Exp;
branches;
next	1.11;

1.11
date	2001.06.11.02.39.04;	author ache;	state Exp;
branches;
next	1.10;

1.10
date	2000.11.07.04.05.37;	author kuriyama;	state Exp;
branches;
next	1.9;

1.9
date	2000.09.30.00.21.39;	author nbm;	state Exp;
branches;
next	1.8;

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

1.7
date	2000.05.17.18.33.14;	author nik;	state Exp;
branches;
next	1.6;

1.6
date	2000.04.23.14.33.52;	author phantom;	state Exp;
branches;
next	1.5;

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

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

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

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

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


desc
@@


1.12
log
@Point readers at the master list in ../docs.html
@
text
@#
# $FreeBSD: www/en/tutorials/Makefile,v 1.11 2001/06/11 02:39:04 ache Exp $
#
# Build the FreeBSD tutorials/articles outside of the www tree, and then
# install them in to the right place.

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

DOCS = index.sgml

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


1.11
log
@ISO_ -> ISO rename
@
text
@d2 1
a2 1
# $FreeBSD: www/en/tutorials/Makefile,v 1.10 2000/11/07 04:05:37 kuriyama Exp $
a14 11

DIRS_TO_CLEAN =	../../../doc/en_US.ISO8859-1/articles \
		../../../doc/en_US.ISO8859-1/books/fdp-primer \
		../../../doc/en_US.ISO8859-1/books/porters-handbook \
		../../../doc/en_US.ISO8859-1/books/ppp-primer

all afterinstall: index.html
	(cd ${.CURDIR}/../../../doc/en_US.ISO8859-1/articles && ${MAKE} 'FORMATS=html html-split' 'DESTDIR=${DESTDIR}/data/tutorials/$${.CURDIR:T}' ${.TARGET:S/afterinstall/install/})
	(cd ${.CURDIR}/../../../doc/en_US.ISO8859-1/books/fdp-primer && ${MAKE} 'FORMATS=html html-split' DESTDIR=${DESTDIR}/data/tutorials/docproj-primer ${.TARGET:S/afterinstall/install/})
	(cd ${.CURDIR}/../../../doc/en_US.ISO8859-1/books/porters-handbook && ${MAKE} 'FORMATS=html html-split' DESTDIR=${DESTDIR}/data/porters-handbook ${.TARGET:S/afterinstall/install/})
	(cd ${.CURDIR}/../../../doc/en_US.ISO8859-1/books/ppp-primer && ${MAKE} 'FORMATS=html html-split' DESTDIR=${DESTDIR}/data/tutorials/ppp ${.TARGET:S/afterinstall/install/})
@


1.10
log
@Switch web.mk to share/mk/web.site.mk in English version.
@
text
@d2 1
a2 1
# $FreeBSD: www/en/tutorials/Makefile,v 1.9 2000/09/30 00:21:39 nbm Exp $
d16 4
a19 4
DIRS_TO_CLEAN =	../../../doc/en_US.ISO_8859-1/articles \
		../../../doc/en_US.ISO_8859-1/books/fdp-primer \
		../../../doc/en_US.ISO_8859-1/books/porters-handbook \
		../../../doc/en_US.ISO_8859-1/books/ppp-primer
d22 4
a25 4
	(cd ${.CURDIR}/../../../doc/en_US.ISO_8859-1/articles && ${MAKE} 'FORMATS=html html-split' 'DESTDIR=${DESTDIR}/data/tutorials/$${.CURDIR:T}' ${.TARGET:S/afterinstall/install/})
	(cd ${.CURDIR}/../../../doc/en_US.ISO_8859-1/books/fdp-primer && ${MAKE} 'FORMATS=html html-split' DESTDIR=${DESTDIR}/data/tutorials/docproj-primer ${.TARGET:S/afterinstall/install/})
	(cd ${.CURDIR}/../../../doc/en_US.ISO_8859-1/books/porters-handbook && ${MAKE} 'FORMATS=html html-split' DESTDIR=${DESTDIR}/data/porters-handbook ${.TARGET:S/afterinstall/install/})
	(cd ${.CURDIR}/../../../doc/en_US.ISO_8859-1/books/ppp-primer && ${MAKE} 'FORMATS=html html-split' DESTDIR=${DESTDIR}/data/tutorials/ppp ${.TARGET:S/afterinstall/install/})
@


1.9
log
@First (and very minor) changes on the way to make the www build
obj-clean.

This basically entails putting ${.CURDIR} in front of the occasional
source file, script, or directory.

Also adds '.include <bsd.obj.mk>' to web.mk so 'make obj' works.

Change gencommercial script to take a '-s' flag pointing to the source
directory, and the portindex script to take an optional additional
parameter indicating the source directory.

Add -D ${.CURDIR} to sgmlformat to follow includes properly.
@
text
@d2 1
a2 1
# $FreeBSD: www/en/tutorials/Makefile,v 1.8 2000/05/19 00:10:09 nik Exp $
d7 7
d27 1
a27 1
.include "../web.mk"
@


1.8
log
@Fix typo in previous commit.  "$" -> "S".  This broke the install.

Submitted by:	Bob Johnson <bob@@eng.ufl.edu>
@
text
@d2 1
a2 1
# $FreeBSD: www/en/tutorials/Makefile,v 1.7 2000/05/17 18:33:14 nik Exp $
d15 4
a18 4
	(cd ../../../doc/en_US.ISO_8859-1/articles && ${MAKE} 'FORMATS=html html-split' 'DESTDIR=${DESTDIR}/data/tutorials/$${.CURDIR:T}' ${.TARGET:S/afterinstall/install/})
	(cd ../../../doc/en_US.ISO_8859-1/books/fdp-primer && ${MAKE} 'FORMATS=html html-split' DESTDIR=${DESTDIR}/data/tutorials/docproj-primer ${.TARGET:S/afterinstall/install/})
	(cd ../../../doc/en_US.ISO_8859-1/books/porters-handbook && ${MAKE} 'FORMATS=html html-split' DESTDIR=${DESTDIR}/data/porters-handbook ${.TARGET:S/afterinstall/install/})
	(cd ../../../doc/en_US.ISO_8859-1/books/ppp-primer && ${MAKE} 'FORMATS=html html-split' DESTDIR=${DESTDIR}/data/tutorials/ppp ${.TARGET:S/afterinstall/install/})
@


1.7
log
@Build the Porter's Handbook, *but* install it in to the top level of the
web site, alongside the Handbook and FAQ.  This sucks, big time, and we
need a better of linking in our docs. <ponder>
@
text
@d2 1
a2 1
# $FreeBSD: www/en/tutorials/Makefile,v 1.6 2000/04/23 14:33:52 phantom Exp $
d17 1
a17 1
	(cd ../../../doc/en_US.ISO_8859-1/books/porters-handbook && ${MAKE} 'FORMATS=html html-split' DESTDIR=${DESTDIR}/data/porters-handbook ${.TARGET:$/afterinstall/install/})
@


1.6
log
@Use DIRS_TO_CLEAN variable to clean external directories, otherwise current
directory will not be cleanup'ed.
@
text
@d2 1
a2 1
# $FreeBSD: www/en/tutorials/Makefile,v 1.5 1999/09/17 23:48:29 nik Exp $
d11 1
d17 1
@


1.5
log
@Teach it about the PPP primer.
@
text
@d2 1
a2 1
# $FreeBSD: www/en/tutorials/Makefile,v 1.4 1999/09/15 20:37:10 wosch Exp $
d9 5
a13 1
all afterinstall clean: index.html
@


1.4
log
@Use the right make command: make -> ${MAKE}
@
text
@d2 1
a2 1
# $FreeBSD: www/en/tutorials/Makefile,v 1.3 1999/09/06 07:02:58 peter Exp $
d12 1
@


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$
d10 2
a11 2
	(cd ../../../doc/en_US.ISO_8859-1/articles && make 'FORMATS=html html-split' 'DESTDIR=${DESTDIR}/data/tutorials/$${.CURDIR:T}' ${.TARGET:S/afterinstall/install/})
	(cd ../../../doc/en_US.ISO_8859-1/books/fdp-primer && make 'FORMATS=html html-split' DESTDIR=${DESTDIR}/data/tutorials/docproj-primer ${.TARGET:S/afterinstall/install/})
@


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:49:29 nik Exp $
@


1.1
log
@Makefile framework to pull the DocBook tutorials in to the web site.
index.sgml came from doc/en_US.ISO_8859-1/tutorials/, and is the last
web site specific file to come out of the doc/ repository.  They are
now separated.

Makefile is best termed a "gross hack".  This will be removed as soon
as the docs are spirited away on to their own web site.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.1 1999/04/15 22:48:28 nik Exp $
d10 2
a11 2
	(cd ../../../doc/en_US.ISO_8859-1/articles; make 'FORMATS=html html-split' 'DESTDIR=${DESTDIR}/data/tutorials/$${.CURDIR:T}' ${.TARGET:S/afterinstall/install/})
	(cd ../../../doc/en_US.ISO_8859-1/books/fdp-primer; make 'FORMATS=html html-split' DESTDIR=${DESTDIR}/data/tutorials/docproj-primer ${.TARGET:S/afterinstall/install/})
@

