From 4a7908b981f7ae2398085087850d9c385891e51d Mon Sep 17 00:00:00 2001 From: Matúš Kukan Date: Fri, 2 Mar 2012 21:14:41 +0100 Subject: add missing $, so that it does what it is supposed to do --- translations/translate/Makefile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'translations') diff --git a/translations/translate/Makefile b/translations/translate/Makefile index fa34acd835e..d04ae515439 100644 --- a/translations/translate/Makefile +++ b/translations/translate/Makefile @@ -50,16 +50,10 @@ merge.done: $(foreach lang,$(my_languages),sdf-l10n/$(lang).sdf) sdf-l10n/qtz.sd define lang_rule sdf-l10n/$(1).sdf: sdf-template/en-US.sdf $(OUTDIR_FOR_BUILD)/bin/po2lo \ $(shell find $(SRCDIR)/translations/source/$(1) -name "*\.po") | sdf-l10n -ifeq ($(OS_FOR_BUILD),WNT) - $(call gb_Helper_abbreviate_dirs_native, \ - $(gb_PYTHON) $(shell cygpath -m $(OUTDIR_FOR_BUILD))/bin/po2lo --skipsource -i \ - $(shell cygpath -m $(SRCDIR)/translations/source/$(1)) -t $$< -o $$@ -l $(1)) - $(echo $(gb_PYTHON)) -else - $(call gb_Helper_abbreviate_dirs_native, \ + $$(call gb_Helper_abbreviate_dirs_native, \ $(gb_PYTHON) $(OUTDIR_FOR_BUILD)/bin/po2lo --skipsource -i \ $(SRCDIR)/translations/source/$(1) -t $$< -o $$@ -l $(1)) -endif + endef $(foreach lang,$(my_languages),$(eval $(call lang_rule,$(lang)))) -- cgit