clean up the build process a wee bit. The basic change: instead of cheacking out bits and pieces of the doc tree into the web build tree, check out the doc tree somewhere else and put in a few symlinks from the web tree to the doc tree. On catfish (soon to be hub) for example: /usr/local/www/build/doc/... /usr/local/www/build/www/... where /usr/local/www/build/www/data/handbook -> ../../doc/handbook You have to manually put in the symlinks at the moment, but it works better than the evil CVS hackery. Also, install with -C to help avoid gratuitous cache-busting due to gratuitous timestamp twiddling.
13 lines
301 B
Makefile
13 lines
301 B
Makefile
# $Id: Makefile,v 1.12 1998-01-18 22:27:43 jfieber Exp $
|
|
|
|
DOCS?= index.sgml
|
|
SUBDIR= devel diskformat disklessx fonts mh multios newuser upgrade
|
|
DOCSUBDIR= ddwg ppp
|
|
SGMLOPTS+= -links -hdr ${.CURDIR}/doc.hdr -ftr ${.CURDIR}/doc.ftr
|
|
|
|
|
|
.if defined $(NEW_BUILD)
|
|
SUBDIR=
|
|
.endif
|
|
|
|
.include "../web.mk"
|