diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-08-05 17:01:36 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2015-08-06 13:17:37 +0000 |
commit | da011e057e036c3f042bfdd64fed703ead9d9ec9 (patch) | |
tree | c09676da12672ea5f6ab978c9e4f540aa9e5453f /postprocess | |
parent | d393f343e376a83e422f79e1a902702e0b52d5de (diff) |
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/17539
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'postprocess')
-rw-r--r-- | postprocess/CustomTarget_registry.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/postprocess/CustomTarget_registry.mk b/postprocess/CustomTarget_registry.mk index 56818895d8f7..5fa8edab37d0 100644 --- a/postprocess/CustomTarget_registry.mk +++ b/postprocess/CustomTarget_registry.mk @@ -568,13 +568,15 @@ postprocess_main_SED := \ -e 's,$${STARTCENTER_TEMPLREP_URL},http://templates.libreoffice.org/,g' \ -e 's,$${SYSTEM_LIBEXTTEXTCAT_DATA},$(SYSTEM_LIBEXTTEXTCAT_DATA),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_Output_announce,main,$(true),XCD,3) $(call gb_Helper_abbreviate_dirs, \ mkdir -p $(dir $@) && \ $(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) > $@ \ ) |