use absolute paths
This commit is contained in:
@@ -58,6 +58,7 @@ $(translations_DIR)/merge.done : \
|
|||||||
$(WORKDIR)/CustomTarget/translations/localization_present.mk && \
|
$(WORKDIR)/CustomTarget/translations/localization_present.mk && \
|
||||||
touch $@)
|
touch $@)
|
||||||
|
|
||||||
|
# TODO: remove the realpaths when we have git submodules
|
||||||
$(translations_DIR)/sdf-l10n/%.sdf : \
|
$(translations_DIR)/sdf-l10n/%.sdf : \
|
||||||
$(translations_DIR)/sdf-template/en-US.sdf \
|
$(translations_DIR)/sdf-template/en-US.sdf \
|
||||||
$(OUTDIR_FOR_BUILD)/bin/po2lo \
|
$(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_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),SDF,1)
|
||||||
$(call gb_Helper_abbreviate_dirs, \
|
$(call gb_Helper_abbreviate_dirs, \
|
||||||
$(gb_PYTHON) $(OUTDIR_FOR_BUILD)/bin/po2lo --skipsource -i \
|
$(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
|
define translations_make_po_deps
|
||||||
$(translations_DIR)/sdf-l10n/$(1).sdf : \
|
$(translations_DIR)/sdf-l10n/$(1).sdf : \
|
||||||
$$(shell find $(SRCDIR)/translations/source/$(1) -name "*\.po")
|
$$(shell find $(realpath $(SRCDIR)/translations/source/$(1)) -name "*\.po")
|
||||||
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user