summaryrefslogtreecommitdiff
path: root/make/rules.mk
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2008-08-30 05:58:24 +0200
committerJonas Smedegaard <dr@jones.dk>2008-08-30 05:58:24 +0200
commite705138efb1b66e9e9909e96d8e54c369a5f32dd (patch)
tree31b97cc1eeaa6ad67fd2287faf84e05ca9a6e089 /make/rules.mk
parent9b5262a392425f98e3f0d853603456f9365877bb (diff)
parent45c8bd565f1d55a3ee3a78c8087382c66aae67f2 (diff)
Merge branch '_multilang' into allinone-multilang
Diffstat (limited to 'make/rules.mk')
-rw-r--r--make/rules.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/rules.mk b/make/rules.mk
index 8da5f97..38fdbff 100644
--- a/make/rules.mk
+++ b/make/rules.mk
@@ -62,11 +62,11 @@ $(3)_L10NFILES = $$(patsubst $(1)/%,%,$$(shell find $(1) -type f -name '*.$$(fil
MASTER_L10NFILES += $$(patsubst %,$(1)/%,$$($(3)_L10NFILES))
$(podir)/$(3).pot: $(1)
- $(MAKE) -f "$$(CURDIR)/make/po4a.mk" -C "$(1)" fileformat="$$(fileformat)" l10nfiles="$$($(3)_L10NFILES)" potfile="$(CURDIR)/$$@" mkpot; \
+ $(MAKE) -f "$$(CURDIR)/make/po4a.mk" -C "$(1)" package="$(4)" module="$(3)" version="$(5)" locale="LOCALE" fileformat="$$(fileformat)" l10nfiles="$$($(3)_L10NFILES)" potfile="$(CURDIR)/$$@" mkpot; \
.PHONY: $(1)
endef
-$(foreach source,$(SOURCES),$(foreach module,$($(source)_POMODULES),$(eval $(call POT_template,$(masterdir),,$(module),$(source)))))
+$(foreach source,$(SOURCES),$(foreach module,$($(source)_POMODULES),$(eval $(call POT_template,$(masterdir),,$(module),$(source),$($(source)_VERSION)))))