summaryrefslogtreecommitdiff
path: root/external/python3/Module_python3.mk
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2013-11-03 20:28:42 +0200
committerDavid Tardon <dtardon@redhat.com>2013-11-04 02:40:45 -0600
commit9dc3f0f5af0fe64ced5d1aca2fc1ddf28c3974c9 (patch)
tree9dd3583b360f02747470d68b4f4de644ab73a4d4 /external/python3/Module_python3.mk
parent45053900a4b05018359bfc135ebe0b2c6ab93f4f (diff)
fdo#70393: move python3 to a subdir of external
Change-Id: Ic5796f096255d2d84e39415324e8a2e06bcf09c9 Reviewed-on: https://gerrit.libreoffice.org/6550 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'external/python3/Module_python3.mk')
-rw-r--r--external/python3/Module_python3.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/external/python3/Module_python3.mk b/external/python3/Module_python3.mk
new file mode 100644
index 000000000000..eb2ec39ecb0b
--- /dev/null
+++ b/external/python3/Module_python3.mk
@@ -0,0 +1,24 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_Module_Module,python3))
+
+ifneq ($(DISABLE_PYTHON),TRUE)
+ifeq ($(SYSTEM_PYTHON),NO)
+
+$(eval $(call gb_Module_add_targets,python3,\
+ UnpackedTarball_python3 \
+ ExternalProject_python3 \
+ $(if $(filter MACOSX,$(OS)),GeneratedPackage_python3,ExternalPackage_python3) \
+))
+
+endif
+endif
+
+# vim: set noet sw=4 ts=4: