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.
18 lines
760 B
Makefile
18 lines
760 B
Makefile
#
|
|
# $Id: Makefile,v 1.1 1999-04-15 22:48:28 nik 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/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.
|
|
#
|
|
|
|
all install clean:
|
|
(cd ../../../doc/en/handbook; make FORMATS=html-split DOC_PREFIX=../../../doc DESTDIR=${DESTDIR} DOCDIR=/data VOLUME=handbook ${.TARGET})
|