summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2024-03-20 10:19:12 +0100
committerStephan Bergmann <stephan.bergmann@allotropia.de>2024-03-20 13:01:20 +0100
commite68a15941926965575cedcacbe0d301111388bef (patch)
tree56337888786c3360884df67bdd22334b0928e542 /static
parent3ad680135c8852c896ec7ed7b8ff63fd63ed0621 (diff)
Fix `cd static && make` for emscripten build
...which failed with > error: instdir/program/types/offapi.rdb does not exist Change-Id: Ie9932960f6e0f6d76070dcdaef792764ac55f51b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165048 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'static')
-rw-r--r--static/CustomTarget_emscripten_fs_image.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/static/CustomTarget_emscripten_fs_image.mk b/static/CustomTarget_emscripten_fs_image.mk
index fdae208b5e88..89b0c628b4c8 100644
--- a/static/CustomTarget_emscripten_fs_image.mk
+++ b/static/CustomTarget_emscripten_fs_image.mk
@@ -1524,6 +1524,7 @@ $(emscripten_fs_image_WORKDIR)/soffice.data.filelist: \
# relative to $(BUILDDIR), so we won't run out of cmdline space that fast...
$(emscripten_fs_image_WORKDIR)/soffice.data.js.metadata: $(emscripten_fs_image_WORKDIR)/soffice.data.filelist
$(call gb_Output_announce,$(subst $(BUILDDIR)/,,$(emscripten_fs_image_WORKDIR)/soffice.data),$(true),GEN,2)
+ cd $(BUILDDIR) && \
$(EMSDK_FILE_PACKAGER) $(emscripten_fs_image_WORKDIR)/soffice.data --preload $(shell cat $^) --js-output=$(emscripten_fs_image_WORKDIR)/soffice.data.js --separate-metadata \
|| rm -f $(emscripten_fs_image_WORKDIR)/soffice.data.js $(emscripten_fs_image_WORKDIR)/soffice.data $(emscripten_fs_image_WORKDIR)/soffice.data.js.metadata