diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-05-02 10:25:33 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2018-08-07 17:55:29 +0200 |
commit | e8a9ac0cc39374548ff2f01497f485f5c952a6b4 (patch) | |
tree | b4a71f434766d415542d2fca7095666d986a6aec | |
parent | ed804caa8979c154e40f6138665a3d7b2553412c (diff) |
Make --with-help=html work on Windows
Change-Id: Ib8168a6ac770e81a8e5049d8d60e63aa04c7e64b
Reviewed-on: https://gerrit.libreoffice.org/53722
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r-- | CustomTarget_html.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CustomTarget_html.mk b/CustomTarget_html.mk index 8b6325a3e6..5d913826c2 100644 --- a/CustomTarget_html.mk +++ b/CustomTarget_html.mk @@ -99,14 +99,15 @@ $(call gb_CustomTarget_get_workdir,helpcontent2/help3xsl)/%/html.text : \ && rm -rf $(dir $@)text \ && find text -name "*.xhp" \ | while read xhp; do \ + mkdir -p $$(dirname $(dir $@)$$xhp) && \ $(call gb_ExternalExecutable_get_command,xsltproc) \ --stringparam Language $* \ --stringparam local $(if $(HELP_ONLINE),'no','yes') \ - --stringparam root `pwd`/ \ + --stringparam root $(if $(filter WNT,$(OS)),$$(cygpath -m `pwd`),`pwd`)/ \ --stringparam productversion $(PRODUCTVERSION) \ -o $(dir $@)$${xhp%.xhp}.html \ $(SRCDIR)/helpcontent2/help3xsl/online_transform.xsl \ - `pwd`/$$xhp \ + $(if $(filter WNT,$(OS)),$$(cygpath -m `pwd`),`pwd`)/$$xhp \ ; done \ && touch $@ \ ) |