summaryrefslogtreecommitdiff
path: root/postprocess/CustomTarget_registry.mk
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2021-01-18 20:14:54 +0100
committerMichael Stahl <michael.stahl@allotropia.de>2021-01-22 11:30:30 +0100
commitfeb24353f59e49ebcb5ad1dae3ef275ea75bb689 (patch)
treef085bdbe37b3320e99c693935663a1c9b9c1e2e3 /postprocess/CustomTarget_registry.mk
parent31d6684c9a0e366f82b7cc92e43576f4495aaef6 (diff)
add --disable-librelogo to disable LibreLogo at build time
Annoyingly the packinfo_*.txt don't support conditionals but we can work-around that with a little duplication. Change-Id: Id00a6831effcc63a917fc21d2cd201474fdb559d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109569 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> (cherry picked from commit c18d3f8823a00edcd3dacec4f2052302ab6a70ee) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109764 Tested-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'postprocess/CustomTarget_registry.mk')
-rw-r--r--postprocess/CustomTarget_registry.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/postprocess/CustomTarget_registry.mk b/postprocess/CustomTarget_registry.mk
index c33417c6b2a7..77cf8c6421b7 100644
--- a/postprocess/CustomTarget_registry.mk
+++ b/postprocess/CustomTarget_registry.mk
@@ -27,7 +27,6 @@ postprocess_XCDS := \
draw.xcd \
graphicfilter.xcd \
impress.xcd \
- librelogo.xcd \
lingucomponent.xcd \
main.xcd \
math.xcd \
@@ -110,10 +109,13 @@ postprocess_FILES_impress := \
$(postprocess_MOD)/org/openoffice/Office/ProtocolHandler-impress.xcu \
$(postprocess_MOD)/org/openoffice/Setup-impress.xcu
+ifeq (LIBRELOGO,$(filter LIBRELOGO,$(BUILD_TYPE)))
+postprocess_XCDS += librelogo.xcd
postprocess_DEPS_librelogo := main writer
postprocess_FILES_librelogo := \
$(postprocess_MOD)/org/openoffice/Office/Addons-librelogo.xcu \
$(postprocess_MOD)/org/openoffice/Office/UI/WriterWindowState-librelogo.xcu
+endif
postprocess_DEPS_lingucomponent := main
postprocess_FILES_lingucomponent := \