diff options
author | David Tardon <dtardon@redhat.com> | 2012-09-25 20:07:37 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-09-25 20:07:37 +0200 |
commit | 0ecde13e1c9342071aab1973cd888f451ab783cb (patch) | |
tree | 274cd5b71586c905ae20d80ea4bff72047a22bd7 | |
parent | c8fa8471c2032f6790c48885c51c0ab3daab6380 (diff) |
use absolute paths
-rw-r--r-- | translations/CustomTarget_translate.mk | 5 |
1 files 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 |