Fix relnotes build.

Approved by:	doceng (implicit)
This commit is contained in:
Hiroki Sato 2012-05-19 13:46:10 +00:00
parent d225edf81b
commit 6624cb4ea1
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=38833
5 changed files with 42 additions and 81 deletions

View file

@ -11,24 +11,8 @@
# $FreeBSDde: de-www/relnotes/Makefile,v 1.4 2003/01/20 18:56:27 ue Exp $
# basiert auf: 1.5
#
.if exists(../Makefile.inc)
.include "../Makefile.inc"
.endif
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 \
DOCDIR=${DESTDIR}/data/de/${.CURDIR:T}/$$webname \
DOC_PREFIX=${.CURDIR}/../../../doc \
DIRPRFX=${.CURDIR:T}/$$webname/ \
NO_LANGCODE_IN_DESTDIR=true \
${.TARGET}); \
done;
.include "${DOC_PREFIX}/en_US.ISO8859-1/htdocs/relnotes/Makefile.inc"

View file

@ -9,26 +9,10 @@
#
# $FreeBSD$
#
.if exists(../Makefile.inc)
.include "../Makefile.inc"
.endif
RELNOTES?= CURRENT ${.CURDIR}/../../../relnotes/doc \
8-STABLE ${.CURDIR}/../../../relnotes8/doc \
7-STABLE ${.CURDIR}/../../../relnotes7/doc \
6-STABLE ${.CURDIR}/../../../relnotes6/doc
RELNOTES?= CURRENT ${DOC_PREFIX}/../relnotes/doc/${LANGCODE}
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;
.include "Makefile.inc"

View file

@ -0,0 +1,25 @@
#
# $FreeBSD$
#
RELNOTES?= CURRENT ${DOC_PREFIX}/../relnotes/doc/${LANGCODE}
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}${WEBBASE}/${.CURDIR:T}/$$webname \
DOC_PREFIX=${DOC_PREFIX} \
DIRPRFX=${.CURDIR:T}/$$webname/ \
LANGCODE=${LANGCODE} \
NO_LANGCODE_IN_DESTDIR=true \
${.TARGET}); \
done;
.include "${DOC_PREFIX}/share/mk/web.site.mk"

View file

@ -10,24 +10,8 @@
# $FreeBSD$
# Original Revision: 1.5
#
.if exists(../Makefile.inc)
.include "../Makefile.inc"
.endif
RELNOTES?= CURRENT ${.CURDIR}/../../../relnotes/doc/fr_FR.ISO8859-1 \
4-STABLE ${.CURDIR}/../../../relnotes4/doc/fr_FR.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/fr/${.CURDIR:T}/$$webname \
DOC_PREFIX=${.CURDIR}/../../../doc \
DIRPRFX=${.CURDIR:T}/$$webname/ \
NO_LANGCODE_IN_DESTDIR=true \
${.TARGET}); \
done;
.include "${DOC_PREFIX}/en_US.ISO8859-1/htdocs/relnotes/Makefile.inc"

View file

@ -13,24 +13,8 @@
#
# Original revision: 1.6
#
.if exists(../Makefile.inc)
.include "../Makefile.inc"
.endif
RELNOTES?= CURRENT ${.CURDIR}/../../../relnotes/doc/ru_RU.KOI8-R \
5-STABLE ${.CURDIR}/../../../relnotes5/doc/ru_RU.KOI8-R
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/ru/${.CURDIR:T}/$$webname \
DOC_PREFIX=${.CURDIR}/../../../doc \
DIRPRFX=${.CURDIR:T}/$$webname/ \
NO_LANGCODE_IN_DESTDIR=true \
${.TARGET}); \
done;
.include "${DOC_PREFIX}/en_US.ISO8859-1/htdocs/relnotes/Makefile.inc"