gnumake3: #i116265# support WITH_LANG=ALL

This commit is contained in:
Hans-Joachim Lankenau 2011-01-19 18:22:07 +01:00
parent bbd08da3b1
commit dc37a8bc54
3 changed files with 10 additions and 139 deletions

View file

@ -102,7 +102,7 @@ endif
define gb_SrsPartTarget_SrsPartTarget
ifeq ($(strip $(WITH_LANG)),)
ifeq ($(strip $(gb_WITH_LANG)),)
$(call gb_SrsPartTarget_get_target,$(1)) : MERGEDFILE :=
else
$(call gb_SrsPartTarget_get_target,$(1)) : MERGEDFILE := $(call gb_SrsPartMergeTarget_get_target,$(1))
@ -282,7 +282,7 @@ endef
# AllLangResTarget
gb_AllLangResTarget_LANGS := en-US $(WITH_LANG)
gb_AllLangResTarget_LANGS := en-US $(filter-out en-US,$(gb_WITH_LANG))
define gb_AllLangResTarget_set_langs
gb_AllLangResTarget_LANGS := $(1)

View file

@ -62,6 +62,11 @@ endef
COMMA :=,
# optional extensions that should never be essential
ifneq ($(wildcard $(GBUILDDIR)/extensions/pre_*.mk),)
include $(wildcard $(GBUILDDIR)/extensions/pre_*.mk)
endif
include $(GBUILDDIR)/Output.mk
# BuildDirs uses the Output functions already
@ -224,8 +229,8 @@ include $(foreach class, \
,$(GBUILDDIR)/$(class).mk)
# optional extensions that should never be essential
ifneq ($(wildcard $(GBUILDDIR)/extensions/*.mk),)
include $(wildcard $(GBUILDDIR)/extensions/*.mk)
ifneq ($(wildcard $(GBUILDDIR)/extensions/post_*.mk),)
include $(wildcard $(GBUILDDIR)/extensions/post_*.mk)
endif
# vim: set noet sw=4 ts=4:

View file

@ -30,140 +30,6 @@
defaultlangiso=en-US
# Complete list of all supported ISO codes
completelangiso=af \
ar \
as \
as-IN \
ast \
be-BY \
bo \
bg \
br \
brx \
bn \
bn-BD \
bn-IN \
bs \
by \
ca \
ca-XV \
cs \
cy \
da \
de \
dgo \
dz \
el \
en-GB \
en-US \
en-ZA \
eo \
es \
et \
eu \
fa \
fi \
fr \
ga \
gd \
gl \
gu \
gu-IN \
he \
hi \
hi-IN \
hr \
hu \
is \
it \
ja \
kid \
ky \
ka \
kab \
kk \
km \
kn \
ko \
kok \
ks \
ku \
lo \
lt \
lv \
mai \
mk \
mn \
mni \
ms \
ml \
ml-IN \
mr \
mr-IN \
my \
ne \
nb \
nl \
nn \
nr \
ns \
nso \
om \
oms \
oc \
or \
or-IN \
pap \
pa \
pa-IN \
pl \
ps \
pt \
pt-BR \
gug \
pyg \
ro \
ru \
rw \
sat \
sa \
sa-IN \
si \
sc \
sd \
sq \
sk \
sl \
sh \
son \
sr \
ss \
st \
sv \
sw \
sw-TZ \
te \
te-IN \
ti \
ti-ER \
ta \
ta-IN \
tlh \
th \
tn \
tr \
ts \
tg \
ug \
ur \
ur-IN \
uk \
uz \
ve \
vi \
xh \
zh-CN \
zh-TW \
zu
.INCLUDE : langlist.mk
alllangiso=$(strip $(defaultlangiso) $(subst,$(defaultlangiso), $(uniq $(subst,ALL,$(completelangiso) $(WITH_LANG)))))