diff --git a/de/Makefile b/de/Makefile index 7f8564d2c6..e2a5e0ddf8 100644 --- a/de/Makefile +++ b/de/Makefile @@ -1,50 +1,48 @@ # The FreeBSD Documentation Project # The FreeBSD German Documentation Project # $FreeBSD$ # $FreeBSDde: de-www/Makefile,v 1.10 2002/12/08 00:18:43 ue Exp $ .if exists(Makefile.conf) .include "Makefile.conf" .endif .if exists(../Makefile.inc) .include "../Makefile.inc" .endif # These are turned into validated, normalized HTML files. DOCS+= availability.sgml DOCS+= index.sgml DOCS+= relnotes.sgml CLEANFILES+=atoz.sgml site.sgml # These will be directly installed. #DATA= robots.txt index.html # Subdirectories # SGML SUBDIR= FAQ SUBDIR+= handbook SUBDIR+= releases .if !defined(WEB_ONLY) || empty(WEB_ONLY) SUBDIR+= doc .endif - -# This need some more analysis -#.if defined(BUILD_RELNOTES) -#SUBDIR+= relnotes -#.endif +.if defined(BUILD_RELNOTES) +SUBDIR+= relnotes +.endif # These *must* be listed after the "doc" subdir, as they create symlinks # in to it. .if !defined(WEB_ONLY) || empty(WEB_ONLY) #SUBDIR+= tutorials .endif SGMLFLAGS+= -links -hdr ${.CURDIR}/doc.hdr -ftr ${.CURDIR}/doc.ftr WEBDIR= data/de .include "${WEB_PREFIX}/share/mk/web.site.mk" diff --git a/de/relnotes/Makefile b/de/relnotes/Makefile new file mode 100644 index 0000000000..12bcbfb6a2 --- /dev/null +++ b/de/relnotes/Makefile @@ -0,0 +1,34 @@ +# +# Web site build hooks for the release notes. Also see the README file. +# +# The variable RELNOTES (I couldn't think of a better name) is a poor +# man's list. Its semantics are very similar to that of MLINKS (see +# bsd.man.mk). The first word is the directory under which that set +# of relnotes should appear on the web site. The second word is the +# path to that relnotes set. +# +# $FreeBSD$ +# $FreeBSDde: de-www/relnotes/Makefile,v 1.2 2002/12/08 14:32:09 ue Exp $ +# basiert auf: 1.5 +# + +RELNOTES?= CURRENT ${.CURDIR}/../../../relnotes/doc/de_DE.ISO8859-1 \ + 4-STABLE ${.CURDIR}/../../../relnotes4/doc/de_DE.ISO8859-1 + +all install clean obj: + @set ${RELNOTES}; \ + while :; do \ + case $$# in \ + 0) break;; \ + 1) ${ECHO_CMD} "bad \$$RELNOTES value"; false; break;; \ + esac; \ + webname=$$1; shift; realpath=$$1; shift; \ + (unset DESTDIR || true; \ + cd $$realpath && ${MAKE} \ + FORMATS=html\ html-split \ + DOCDIR=${DESTDIR}/data/${.CURDIR:T}/$$webname \ + DOC_PREFIX=${.CURDIR}/../../../doc \ + DIRPRFX=${.CURDIR:T}/$$webname/ \ + NO_LANGCODE_IN_DESTDIR=true \ + ${.TARGET}); \ + done;