diff options
author | Jonas Smedegaard <dr@jones.dk> | 2007-11-06 14:34:13 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2007-11-06 14:34:13 +0100 |
commit | b747c50e13c622436b99f3df939a9f50e183f3ce (patch) | |
tree | 03a7bd7de2c61953df7d08267e3f682838e388b6 | |
parent | 0ddc1a31cb78d1bce3aa4884cb2c8a4ee7bcb16b (diff) |
Avoid chdir in shell code (strip leading path afterwards instead) when resolving *_L10NFILES in Makefile.
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |