doc/en/tutorials/Makefile
Nik Clayton bf0da8be80 Fix typo in previous commit. "$" -> "S". This broke the install.
Submitted by:	Bob Johnson <bob@eng.ufl.edu>
2000-05-19 00:10:09 +00:00

20 lines
1.1 KiB
Makefile

#
# $FreeBSD: www/en/tutorials/Makefile,v 1.7 2000/05/17 18:33:14 nik 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: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/})
.include "../web.mk"