diff --git a/Makefile b/Makefile index 6f8ca9fe33..3ddfe9a917 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,16 @@ -# $FreeBSD: www/Makefile,v 1.19 2002/10/05 16:06:44 lioux Exp $ +# $FreeBSD: www/Makefile,v 1.20 2003/03/20 00:10:51 trhodes Exp $ WEB_PREFIX= ${.CURDIR} SUBDIR= en .if !defined(ENGLISH_ONLY) || empty(ENGLISH_ONLY) .if make(obj) -SUBDIR+= it ja es ru zh de pt_BR +SUBDIR+= da it ja es ru zh de pt_BR .endif .endif links: .include .include diff --git a/da/Makefile b/da/Makefile new file mode 100644 index 0000000000..1ec68d334e --- /dev/null +++ b/da/Makefile @@ -0,0 +1,17 @@ +# $FreeBSD$ +.if exists(Makefile.conf) +.include "Makefile.conf" +.endif +.if exists(../Makefile.inc) +.include "../Makefile.inc" +.endif + +# Subdirectories +# SGML +.if !defined(WEB_ONLY) || empty(WEB_ONLY) +SUBDIR= doc +.endif + +WEBDIR?= data/da + +.include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/da/Makefile.inc b/da/Makefile.inc new file mode 100644 index 0000000000..9cd8173c82 --- /dev/null +++ b/da/Makefile.inc @@ -0,0 +1,4 @@ +# $FreeBSD$ + +WEBBASE?= /data/da +WEB_PREFIX?= ${.CURDIR}/../.. diff --git a/da/doc/Makefile b/da/doc/Makefile new file mode 100644 index 0000000000..7d9c3769a7 --- /dev/null +++ b/da/doc/Makefile @@ -0,0 +1,40 @@ +# +# $FreeBSD$ +# +# Build the FreeBSD documentation *outside* of the www tree, and install it +# in to the right place as necessary. +# +# 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: all-all all-install + +all-all: + @unset DESTDIR || true; \ + cd ${.CURDIR}/../../../doc/da_DK.ISO8859-1; \ + ${MAKE} FORMATS="html-split html" \ + INSTALL_COMPRESSED= all +all-install: + @unset DESTDIR || true; \ + cd ${.CURDIR}/../../../doc/da_DK.ISO8859-1; \ + ${MAKE} FORMATS="html-split html" DOCDIR=${.OBJDIR} \ + INSTALL_COMPRESSED= install +install clean: + @unset DESTDIR || true; \ + cd ${.CURDIR}/../../../doc/da_DK.ISO8859-1; \ + ${MAKE} FORMATS="html-split html" DOCDIR=${DESTDIR}/data/doc \ + INSTALL_COMPRESSED= ${.TARGET} +.if make(clean) + ${RM} -rf en* +.endif + +.include "${.CURDIR}/../../share/mk/web.site.mk" + +obj: _OBJUSE + +_OBJUSE: .USE + @unset DESTDIR || true; \ + cd ${.CURDIR}/../../../doc/da_DK.ISO8859-1; \ + ${MAKE} ${.TARGET}