Hook up the Danish documentation to the website build.
This commit is contained in:
parent
e262379bbd
commit
f1e5b28ded
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=18596
4 changed files with 63 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -1,4 +1,4 @@
|
|||
# $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}
|
||||
|
||||
|
@ -6,7 +6,7 @@ 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
|
||||
|
||||
|
|
17
da/Makefile
Normal file
17
da/Makefile
Normal file
|
@ -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"
|
4
da/Makefile.inc
Normal file
4
da/Makefile.inc
Normal file
|
@ -0,0 +1,4 @@
|
|||
# $FreeBSD$
|
||||
|
||||
WEBBASE?= /data/da
|
||||
WEB_PREFIX?= ${.CURDIR}/../..
|
40
da/doc/Makefile
Normal file
40
da/doc/Makefile
Normal file
|
@ -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}
|
Loading…
Reference in a new issue