diff options
author | dd <dd@FreeBSD.org> | 2001-09-03 14:39:32 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2001-09-03 14:39:32 +0000 |
commit | 973eb1653aceb8e7163e9c4f7b9c2307fe20f2f3 (patch) | |
tree | b12dceabbe0d17c9d64d2900851204ba86d5fe91 /release | |
parent | dc570acf4dd629f5f4c13fbb4ecd492762da0934 (diff) | |
download | FreeBSD-src-973eb1653aceb8e7163e9c4f7b9c2307fe20f2f3.zip FreeBSD-src-973eb1653aceb8e7163e9c4f7b9c2307fe20f2f3.tar.gz |
If NO_LANGCODE_IN_DESTDIR is defined, don't put the language code in
DESTDIR. This avoids redundant information in the path when DOCDIR
points to some directory that already implies (or specifies) a certain
language. This is the case with the web site, where the release notes
are already installed under a language-specific directory. This
behavior is not being made mandatory because it might still be useful
to install all the translations in one directory, such as during
testing, or in a hypothetical release notes archive. Furthermore, it
is not being made the default because that breaks consistency with
stuff under doc/.
Reviewed by: bmah
Diffstat (limited to 'release')
5 files changed, 20 insertions, 0 deletions
diff --git a/release/doc/en_US.ISO8859-1/errata/Makefile b/release/doc/en_US.ISO8859-1/errata/Makefile index aaf3e15..c8ac209 100644 --- a/release/doc/en_US.ISO8859-1/errata/Makefile +++ b/release/doc/en_US.ISO8859-1/errata/Makefile @@ -1,7 +1,11 @@ # $FreeBSD$ RELN_ROOT?= ${.CURDIR}/../.. +.ifdef NO_LANGCODE_IN_DESTDIR +DESTDIR?= ${DOCDIR}/errata +.else DESTDIR?= ${DOCDIR}/en_US.ISO8859-1/errata +.endif DOC?= article FORMATS?= html diff --git a/release/doc/en_US.ISO8859-1/hardware/Makefile.inc b/release/doc/en_US.ISO8859-1/hardware/Makefile.inc index f843b3c..439fdc5 100644 --- a/release/doc/en_US.ISO8859-1/hardware/Makefile.inc +++ b/release/doc/en_US.ISO8859-1/hardware/Makefile.inc @@ -1,3 +1,7 @@ # $FreeBSD$ +.ifdef NO_LANGCODE_IN_DESTDIR +DESTDIR?= ${DOCDIR}/hardware/${.CURDIR:T} +.else DESTDIR?= ${DOCDIR}/en_US.ISO8859-1/hardware/${.CURDIR:T} +.endif diff --git a/release/doc/en_US.ISO8859-1/installation/Makefile.inc b/release/doc/en_US.ISO8859-1/installation/Makefile.inc index 8e9b3f0..535d4a4 100644 --- a/release/doc/en_US.ISO8859-1/installation/Makefile.inc +++ b/release/doc/en_US.ISO8859-1/installation/Makefile.inc @@ -1,3 +1,7 @@ # $FreeBSD$ +.ifdef NO_LANGCODE_IN_DESTDIR +DESTDIR?= ${DOCDIR}/installation/${.CURDIR:T} +.else DESTDIR?= ${DOCDIR}/en_US.ISO8859-1/installation/${.CURDIR:T} +.endif diff --git a/release/doc/en_US.ISO8859-1/readme/Makefile b/release/doc/en_US.ISO8859-1/readme/Makefile index c093acd..05486df 100644 --- a/release/doc/en_US.ISO8859-1/readme/Makefile +++ b/release/doc/en_US.ISO8859-1/readme/Makefile @@ -1,7 +1,11 @@ # $FreeBSD$ RELN_ROOT?= ${.CURDIR}/../.. +.ifdef NO_LANGCODE_IN_DESTDIR +DESTDIR?= ${DOCDIR}/readme +.else DESTDIR?= ${DOCDIR}/en_US.ISO8859-1/readme +.endif DOC?= article FORMATS?= html diff --git a/release/doc/en_US.ISO8859-1/relnotes/Makefile.inc b/release/doc/en_US.ISO8859-1/relnotes/Makefile.inc index 8f4dc84..45c320c 100644 --- a/release/doc/en_US.ISO8859-1/relnotes/Makefile.inc +++ b/release/doc/en_US.ISO8859-1/relnotes/Makefile.inc @@ -1,3 +1,7 @@ # $FreeBSD$ +.ifdef NO_LANGCODE_IN_DESTDIR +DESTDIR?= ${DOCDIR}/relnotes/${.CURDIR:T} +.else DESTDIR?= ${DOCDIR}/en_US.ISO8859-1/relnotes/${.CURDIR:T} +.endif |