From e2341646973fc68b3be40bd6ae4e978feb46f2ea Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 6 Nov 2007 12:59:04 +0100 Subject: Fix resolving translations target in Makefile. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 881332d..32a2057 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 = $$(shell cd "$(1)" && find * -type f -name '*.$$(filetype)') -ALL_L10NFILES += $(patsubst %,$(1)/%,$(3)_L10NFILES) +ALL_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)/$$@ -- cgit v1.2.3