diff --git a/zh/FAQ/Makefile b/zh/FAQ/Makefile index beeb99f512..c12ff8b270 100644 --- a/zh/FAQ/Makefile +++ b/zh/FAQ/Makefile @@ -1,11 +1,23 @@ # -# $FreeBSD: www/zh/FAQ/Makefile,v 1.2 1999/09/06 07:03:31 peter Exp $ +# $FreeBSD: www/zh/FAQ/Makefile,v 1.3 1999/09/15 20:37:12 wosch Exp $ # # Build the FreeBSD FAQ *outside* of the www tree, and install it # in to the right place as necessary. +.if exists(../Makefile.inc) +.include "../Makefile.inc" +.endif + all install clean: - (cd ../../../doc/zh_TW.Big5/books/faq; ${MAKE} 'FORMATS=html-split html' DESTDIR=${DESTDIR}/data/zh/FAQ ${.TARGET}) + (cd ../../../doc/zh_TW.Big5/books/faq; \ + ${MAKE} 'FORMATS=html-split html' \ + DESTDIR=${DESTDIR}/data/zh/FAQ \ + ${.TARGET}) .if make(install) (cd ${DESTDIR}/data/zh/FAQ; ln -sf index.html FAQ.html) .endif + +WEBBASE= /data/zh/FAQ + +.include "${WEB_PREFIX}/share/mk/web.site.mk" + diff --git a/zh/Makefile.inc b/zh/Makefile.inc new file mode 100644 index 0000000000..48706b7933 --- /dev/null +++ b/zh/Makefile.inc @@ -0,0 +1,4 @@ +# $FreeBSD$ + +WEBBASE?= /data/zh +WEB_PREFIX?= ${.CURDIR}/../..