summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 380955a..d37731e 100644
--- a/Makefile
+++ b/Makefile
@@ -74,7 +74,7 @@ fileformat = $(if $(filter templates,$(3)),htmltemplate,text)
filetype = $(if $(filter templates,$(3)),tmpl,mdwn)
ALL_POTFILES += $(podir)/$(3).pot
$(3)_L10NFILES = $$(patsubst $(1)/%,%,$$(shell find $(1) -type f -name '*.$$(filetype)'))
-ALL_MASTERFILES += $$(patsubst %,$(1)/%,$$($(3)_L10NFILES))
+MASTER_L10NFILES += $$(patsubst %,$(1)/%,$$($(3)_L10NFILES))
$(podir)/$(3).pot: $(1)
cd "$(1)" && po4a-gettextize -M UTF-8 -L UTF-8 -f $$(fileformat) $$(patsubst %,-m %,$$($(3)_L10NFILES)) -p $(CURDIR)/$$@
@@ -90,7 +90,7 @@ define INITPO_template
fileformat = $(if $(filter templates,$(3)),htmltemplate,text)
filetype = $(if $(filter templates,$(3)),tmpl,mdwn)
ALL_POFILES += $(podir)/$(3).$(2).po
-ALL_L10NFILES += $$(patsubst %,$(1)/%,$$($(3)_L10NFILES))
+LOCALE_L10NFILES += $$(patsubst %,$(1)/%,$$($(3)_L10NFILES))
$(4)_POMODULES := $(filter-out $(3),$$($(4)_POMODULES))
$(4)_POLOCALES := $(filter-out $(2),$$($(4)_POLOCALES))
@@ -116,7 +116,7 @@ define PO_template
fileformat = $(if $(filter templates,$(3)),htmltemplate,text)
filetype = $(if $(filter templates,$(3)),tmpl,mdwn)
ALL_POFILES += $(podir)/$(3).$(2).po
-ALL_L10NFILES += $$(patsubst %,$(1)/%,$$($(3)_L10NFILES))
+LOCALE_L10NFILES += $$(patsubst %,$(1)/%,$$($(3)_L10NFILES))
$(podir)/$(3).$(2).po: $(3)
cd "$(3)" && po4a-updatepo -M UTF-8 -f $(fileformat) $(patsubst %,-m %,$$($(3)_L10NFILES)) -p $(CURDIR)/$$@
@@ -159,8 +159,8 @@ $(foreach config,$(CONFIGS),$(eval $(call CONFIG_template,$(config))))
pot: $(ALL_POTFILES)
po: $(ALL_POFILES)
-$(ALL_L10NFILES): $(ALL_MASTERFILES)
-translations: $(ALL_L10NFILES)
+$(LOCALE_L10NFILES): $(MASTER_L10NFILES)
+translations: $(LOCALE_L10NFILES)