summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d8c5e35..380955a 100644
--- a/Makefile
+++ b/Makefile
@@ -73,7 +73,7 @@ define POT_template
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)')
+$(3)_L10NFILES = $$(patsubst $(1)/%,%,$$(shell find $(1) -type f -name '*.$$(filetype)'))
ALL_MASTERFILES += $$(patsubst %,$(1)/%,$$($(3)_L10NFILES))
$(podir)/$(3).pot: $(1)