summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-09-05 10:57:25 +0200
committerMichael Stahl <mstahl@redhat.com>2012-09-05 14:11:58 +0000
commit4ae49101fd43d052c3556b2db753e4d8ae7d86ce (patch)
tree4ed298c3ca0d1c1c6b59e5e1a4145babcac2c179 /sdext
parent5a36a0cab0d4d32968404c0d88772e1a6303af00 (diff)
fdo#53009: Compile extension help in gbuild
...as had been done in the old build system (solenv/inc/extension_helplink.mk). Especially for bundled extensions, this removes the need to compile the help data per user on first start. gb_Extension_add_helpfile(s) replaces gb_Extension_localize_help, and takes care of all the steps (localization, compilation, inclusion in .oxt), even for the en-US data (which was handled with additional gb_Extension_add_file calls before). (cherry picked from commit b23bb8e0de3dbdc2c66c3dedf70dfd318868f76c with additional fixes from follow-up commits 152ffaa15f963f92b1564946a648c53d6b5c808c "Call HelpIndexer/Linker with gb_Helper_set_ld_path" and a297372210396260da57f34da3790f76682603cc "Quote .ddf content (potentially containing stuff like '%2F')") Conflicts: solenv/gbuild/Extension.mk solenv/gbuild/ExtensionTarget.mk Change-Id: Ie4bab66d3cad2b713780a23bf2606ca56cfff37f Reviewed-on: https://gerrit.libreoffice.org/563 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sdext')
-rw-r--r--sdext/Extension_presenter.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/sdext/Extension_presenter.mk b/sdext/Extension_presenter.mk
index 2a83712f3285..ba5a51a68694 100644
--- a/sdext/Extension_presenter.mk
+++ b/sdext/Extension_presenter.mk
@@ -141,10 +141,6 @@ $(eval $(call gb_Extension_add_files,presenter-screen,registry/data/org/openoffi
$(call gb_XcuDataTarget_get_target,sdext/source/presenter/registry/data/org/openoffice/Office/ProtocolHandler.xcu) \
))
-$(eval $(call gb_Extension_add_files,presenter-screen,help/en-US/com.sun.PresenterScreen-$(sdext_PLATFORM),\
- $(WORKDIR)/CustomTarget/sdext/source/presenter/help/en-US/com.sun.PresenterScreen/presenter.xhp \
-))
-
-$(eval $(call gb_Extension_localize_help,presenter-screen,help/lang/com.sun.PresenterScreen-$(sdext_PLATFORM)/presenter.xhp,$(WORKDIR)/CustomTarget/sdext/source/presenter/help/en-US/com.sun.PresenterScreen/presenter.xhp))
+$(eval $(call gb_Extension_add_helpfile,presenter-screen,$(WORKDIR)/CustomTarget/sdext/source/presenter/help/en-US,com.sun.PresenterScreen-$(sdext_PLATFORM)/presenter.xhp,com.sun.PresenterScreen/presenter.xhp))
# vim:set shiftwidth=4 softtabstop=4 expandtab: