doc/en/handbook/Makefile
Murray Stokely 0d8e79bd0c * Make build/install of www /usr/obj prefix clean.
* Use make variables instead of hard coding commands, paths, and
  options.
* Wrap some long lines.
* Replace shell loops with make for loops, etc.

PR:		docs/31132
Submitted by:	Cyrille Lefevre <clefevre@citeweb.net>
2001-10-29 10:14:33 +00:00

26 lines
684 B
Makefile

#
# $FreeBSD: www/en/handbook/Makefile,v 1.7 2001/06/11 02:39:00 ache 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 ${.OBJDIR}/../../../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"