doc/en/handbook/Makefile
2001-06-11 02:39:07 +00:00

24 lines
667 B
Makefile

#
# $FreeBSD: www/en/handbook/Makefile,v 1.6 2001/04/17 09:05:43 nik Exp $
#
.if exists(../Makefile.conf)
.include "../Makefile.conf"
.endif
.if exists(../Makefile.inc)
.include "../Makefile.inc"
.endif
# At build time, we have to link to the doc/ directory at the same level
# as the www/ tree.
all:
ln -fs ${.CURDIR}/../../../doc/en_US.ISO8859-1/books/handbook/* .
# At install time the ../doc/ directory has been populated, so we can
# link in to there instead.
install:
[ -d ${DOCINSTALLDIR} ] || mkdir ${DOCINSTALLDIR}
(cd ${DOCINSTALLDIR} && ln -fs ../doc/en_US.ISO8859-1/books/handbook/* ${DOCINSTALLDIR})
.include "${WEB_PREFIX}/share/mk/web.site.mk"