summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNik Clayton <nik@FreeBSD.org>1999-08-26 19:40:04 +0000
committerNik Clayton <nik@FreeBSD.org>1999-08-26 19:40:04 +0000
commit816f75506cc30f447544e32823afbadf51480ae2 (patch)
treea9e613bb1f7108a0f68a7638f7821126785636c7 /Makefile
parentee685fdd2c00c837bfd86f7b9f0a4b4340068d38 (diff)
Support using the DOC_LANG variable to specify which languages and
encodings to install. It is synonymous with SUBDIR, and can probably disappear when this functionality is 'tweaked' in the release build.
Notes
svn path=/head/; revision=5452
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 91ac985cda..028109bcfe 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,17 @@
-# $Id: Makefile,v 1.12 1999-08-19 20:31:25 nik Exp $
+# $Id: Makefile,v 1.13 1999-08-26 19:40:04 nik Exp $
+#
+# The user can override the default list of languages to build and install
+# with the DOC_LANG variable.
+#
+.if defined(DOC_LANG) && !empty(DOC_LANG)
+SUBDIR = ${DOC_LANG}
+.else
SUBDIR = en_US.ISO_8859-1
SUBDIR+= es_ES.ISO_8859-1
SUBDIR+= ja_JP.eucJP
SUBDIR+= ru_RU.KOI8-R
SUBDIR+= zh_TW.Big5
+.endif
.include <bsd.subdir.mk>