aboutsummaryrefslogtreecommitdiff
path: root/release/doc/en_US.ISO8859-1/errata/Makefile
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2001-09-03 14:39:32 +0000
committerDima Dorfman <dd@FreeBSD.org>2001-09-03 14:39:32 +0000
commitf6b1b0cc3340bf8b4ca52820077ecc7b09287fbf (patch)
treeb12dceabbe0d17c9d64d2900851204ba86d5fe91 /release/doc/en_US.ISO8859-1/errata/Makefile
parentd3f265038eb204b80c2af24b3b7192de658c169f (diff)
downloadsrc-f6b1b0cc3340bf8b4ca52820077ecc7b09287fbf.tar.gz
src-f6b1b0cc3340bf8b4ca52820077ecc7b09287fbf.zip
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
Notes
Notes: svn path=/head/; revision=82872
Diffstat (limited to 'release/doc/en_US.ISO8859-1/errata/Makefile')
-rw-r--r--release/doc/en_US.ISO8859-1/errata/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/release/doc/en_US.ISO8859-1/errata/Makefile b/release/doc/en_US.ISO8859-1/errata/Makefile
index aaf3e152ff20..c8ac2093f88a 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