summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2007-11-06 14:39:14 +0100
committerJonas Smedegaard <dr@jones.dk>2007-11-06 14:39:14 +0100
commitbc7344a2af5737d59cd8cea4a5c2c020c6116682 (patch)
tree4a5c1304815ad8eb205343247a89c254448a8616 /Makefile
parentb747c50e13c622436b99f3df939a9f50e183f3ce (diff)
Rename ALL_L10NFILES -> LOCALE_L10NFILES and ALL_MASTERFILES -> MASTER_L10NFILES in Makefile.
Diffstat (limited to 'Makefile')
-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)