diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2021-01-18 20:14:54 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2021-01-19 13:55:08 +0100 |
commit | c18d3f8823a00edcd3dacec4f2052302ab6a70ee (patch) | |
tree | 941231cf862b7cdcb99ac8c5637a9efaf759e6f0 /postprocess | |
parent | 6f5186a94dcd1989cdd819e35163af0542912559 (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>
Diffstat (limited to 'postprocess')
-rw-r--r-- | postprocess/CustomTarget_registry.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/postprocess/CustomTarget_registry.mk b/postprocess/CustomTarget_registry.mk index 7e47c3803492..57b3ef1221a4 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,11 +109,14 @@ 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/WriterCommands-librelogo.xcu \ $(postprocess_MOD)/org/openoffice/Office/UI/WriterWindowState-librelogo.xcu +endif postprocess_DEPS_lingucomponent := main postprocess_FILES_lingucomponent := \ |