summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-05-05 15:27:49 +0200
committerDavid Tardon <dtardon@redhat.com>2013-05-05 15:47:54 +0200
commited665f24ff62bc00acd41620f91cb9dc458c8a2e (patch)
tree04263801afb22fc7b13b088f23608c87792add14 /pyuno
parente64e85b2211a10fc6e1584aec2dc199d49d46d79 (diff)
copy pyuno files to instdir
Change-Id: I62fa315b942c5b2383ee83c644ecbcbca3d6c40f
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/Module_pyuno.mk6
-rw-r--r--pyuno/Package_python_scripts_install.mk20
2 files changed, 26 insertions, 0 deletions
diff --git a/pyuno/Module_pyuno.mk b/pyuno/Module_pyuno.mk
index 536ba40ab463..05aefa6f9da1 100644
--- a/pyuno/Module_pyuno.mk
+++ b/pyuno/Module_pyuno.mk
@@ -60,6 +60,12 @@ endif
endif # SYSTEM_PYTHON
+ifneq ($(gb_RUNNABLE_INSTDIR),)
+$(eval $(call gb_Module_add_targets,pyuno,\
+ Package_python_scripts_install \
+))
+endif
+
endif # DISABLE_PYTHON
# vim:set noet sw=4 ts=4:
diff --git a/pyuno/Package_python_scripts_install.mk b/pyuno/Package_python_scripts_install.mk
new file mode 100644
index 000000000000..dc2f08e3fe45
--- /dev/null
+++ b/pyuno/Package_python_scripts_install.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_Package_Package,pyuno_python_scripts_install,$(SRCDIR)/pyuno/source))
+
+$(eval $(call gb_Package_set_outdir,pyuno_python_scripts_install,$(INSTDIR)))
+
+$(eval $(call gb_Package_add_files,pyuno_python_scripts_install,program,\
+ loader/pythonloader.py \
+ module/uno.py \
+ module/unohelper.py \
+))
+
+# vim: set noet sw=4 ts=4: