summaryrefslogtreecommitdiff
path: root/pyuno/GeneratedPackage_python-core.mk
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2016-06-01 14:46:38 +0200
committerDavid Tardon <dtardon@redhat.com>2016-06-01 14:55:27 +0200
commit9b01428b1f448e6b7d5a72f18c1a7d86e11ba4f9 (patch)
treef8915f28602feadb3ea33d16ec722d78ce3f46ed /pyuno/GeneratedPackage_python-core.mk
parentc5c2181a14c6ca9ed47729e6d8dbda2cc3552221 (diff)
final solution of the ARCHIVE question
Change-Id: I70da65e08c75cd732000597a09ed113b3075c5a8
Diffstat (limited to 'pyuno/GeneratedPackage_python-core.mk')
-rw-r--r--pyuno/GeneratedPackage_python-core.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/pyuno/GeneratedPackage_python-core.mk b/pyuno/GeneratedPackage_python-core.mk
new file mode 100644
index 000000000000..88cd9b9898d2
--- /dev/null
+++ b/pyuno/GeneratedPackage_python-core.mk
@@ -0,0 +1,20 @@
+# -*- 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_GeneratedPackage_GeneratedPackage,python-core,$(MINGW_SYSROOT)/lib))
+
+# NOTE: The original code excluded *.pyc, *.py~, *.orig and *_failed . I
+# assume it was just a size optimization. If their presence actually
+# causes a problem, an extension of GeneratedPackage is is left as an
+# excercise for the poor misguided person who wants to cross-compile
+# with mingw and system python and actually use the results for
+# something.
+$(eval $(call gb_GeneratedPackage_add_dir,python-core,$(INSTDIR)/program/python-core-$(PYTHON_VERSION)/lib,python$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)))
+
+# vim: set noet sw=4 ts=4: