Kaydet (Commit) f9ab9cc3 authored tarafından Michael Stahl's avatar Michael Stahl Kaydeden (comit) Eike Rathke

postprocess: try to get the right version number in About dialog

Add a dependency from main.xcd to config_host.mk to rebuild it when the
version number changes.

Change-Id: I6878d58def57942f117b0b6e49a6c03abbeca5af
Reviewed-on: https://gerrit.libreoffice.org/17539Reviewed-by: 's avatarEike Rathke <erack@redhat.com>
Tested-by: 's avatarEike Rathke <erack@redhat.com>
(cherry picked from commit da011e05)
Reviewed-on: https://gerrit.libreoffice.org/17541
üst 88485648
...@@ -567,13 +567,15 @@ postprocess_main_SED := \ ...@@ -567,13 +567,15 @@ postprocess_main_SED := \
-e 's,$${STARTCENTER_HIDE_EXTERNAL_LINKS},0,g' \ -e 's,$${STARTCENTER_HIDE_EXTERNAL_LINKS},0,g' \
-e 's,$${STARTCENTER_TEMPLREP_URL},http://templates.libreoffice.org/,g' \ -e 's,$${STARTCENTER_TEMPLREP_URL},http://templates.libreoffice.org/,g' \
$(call gb_XcdTarget_get_target,main.xcd) : \ $(call gb_XcdTarget_get_target,main.xcd) \
: $(SRCDIR)/config_host.mk.stamp \
| $(call gb_ExternalExecutable_get_dependencies,xsltproc) | $(call gb_ExternalExecutable_get_dependencies,xsltproc)
$(call gb_Output_announce,main,$(true),XCD,3) $(call gb_Output_announce,main,$(true),XCD,3)
$(call gb_Helper_abbreviate_dirs, \ $(call gb_Helper_abbreviate_dirs, \
mkdir -p $(dir $@) && \ mkdir -p $(dir $@) && \
$(call gb_ExternalExecutable_get_command,xsltproc) --nonet \ $(call gb_ExternalExecutable_get_command,xsltproc) --nonet \
$(SRCDIR)/solenv/bin/packregistry.xslt $< \ $(SRCDIR)/solenv/bin/packregistry.xslt \
$(call gb_CustomTarget_get_workdir,postprocess/registry)/main.list \
| sed $(postprocess_main_SED) > $@ \ | sed $(postprocess_main_SED) > $@ \
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment