doc/en/tutorials/Makefile
Nik Clayton 638ac58e32 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>
2000-05-17 18:33:14 +00:00

20 lines
1.1 KiB
Makefile

#
# $FreeBSD: www/en/tutorials/Makefile,v 1.6 2000/04/23 14:33:52 phantom Exp $
#
# Build the FreeBSD tutorials/articles outside of the www tree, and then
# install them in to the right place.
DOCS = index.sgml
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
all afterinstall: index.html
(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:$/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/})
.include "../web.mk"