From 0ecde13e1c9342071aab1973cd888f451ab783cb Mon Sep 17 00:00:00 2001 From: David Tardon Date: Tue, 25 Sep 2012 20:07:37 +0200 Subject: use absolute paths --- translations/CustomTarget_translate.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/translations/CustomTarget_translate.mk b/translations/CustomTarget_translate.mk index 28273554e41..0bd41efcdbf 100644 --- a/translations/CustomTarget_translate.mk +++ b/translations/CustomTarget_translate.mk @@ -58,6 +58,7 @@ $(translations_DIR)/merge.done : \ $(WORKDIR)/CustomTarget/translations/localization_present.mk && \ touch $@) +# TODO: remove the realpaths when we have git submodules $(translations_DIR)/sdf-l10n/%.sdf : \ $(translations_DIR)/sdf-template/en-US.sdf \ $(OUTDIR_FOR_BUILD)/bin/po2lo \ @@ -65,11 +66,11 @@ $(translations_DIR)/sdf-l10n/%.sdf : \ $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),SDF,1) $(call gb_Helper_abbreviate_dirs, \ $(gb_PYTHON) $(OUTDIR_FOR_BUILD)/bin/po2lo --skipsource -i \ - source/$* -t $< -o $@ -l $*) + $(realpath $(SRCDIR)/translations/source/$*) -t $< -o $@ -l $*) define translations_make_po_deps $(translations_DIR)/sdf-l10n/$(1).sdf : \ - $$(shell find $(SRCDIR)/translations/source/$(1) -name "*\.po") + $$(shell find $(realpath $(SRCDIR)/translations/source/$(1)) -name "*\.po") endef -- cgit