diff options
author | Tor Lillqvist <tml@iki.fi> | 2018-08-14 21:23:02 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-08-15 07:52:55 +0200 |
commit | 0f2f719ccd5544eb37d1aacb0a50c317ae963e50 (patch) | |
tree | ef4fbc73eb4dd2f3618bcf5da8445071174f5bef /external | |
parent | 032c3f0d8403c6c7cdc60564641687bfb56cf9b3 (diff) |
tdf#106324: Remove unnecessary test folder from LibreOfficePython framework
No need to distribute that, apparently. We don't ship it on Windows,
either.
Change-Id: I76bf77311caceccd07afb0afa2f097b63f58bf54
Reviewed-on: https://gerrit.libreoffice.org/59034
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'external')
-rw-r--r-- | external/python3/ExternalProject_python3.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/external/python3/ExternalProject_python3.mk b/external/python3/ExternalProject_python3.mk index 69a82c3f6011..7e9952ac6cc7 100644 --- a/external/python3/ExternalProject_python3.mk +++ b/external/python3/ExternalProject_python3.mk @@ -21,6 +21,7 @@ $(eval $(call gb_ExternalProject_register_targets,python3,\ fixscripts \ fixinstallnames \ executables \ + removeunnecessarystuff \ ) \ )) @@ -149,6 +150,10 @@ $(call gb_ExternalProject_get_state_target,python3,executables) : $(call gb_Exte @executable_path/../LibreOfficePython $$file ; done touch $@ +$(call gb_ExternalProject_get_state_target,python3,removeunnecessarystuff) : $(call gb_ExternalProject_get_state_target,python3,build) + $(call gb_Output_announce,python3 - remove the stuff we don't need to ship,build,CUS,5) + rm -rf $(python3_fw_prefix)/Versions/$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)/lib/python$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)/test + endif # vim: set noet sw=4 ts=4: |