summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/Module_desktop.mk5
-rw-r--r--desktop/Package_scripts_install.mk32
2 files changed, 36 insertions, 1 deletions
diff --git a/desktop/Module_desktop.mk b/desktop/Module_desktop.mk
index 40e4f622e22a..2d322aa41d9a 100644
--- a/desktop/Module_desktop.mk
+++ b/desktop/Module_desktop.mk
@@ -36,7 +36,10 @@ $(eval $(call gb_Module_add_targets,desktop,\
Library_migrationoo2 \
Library_migrationoo3 \
Library_unopkgapp \
- $(if $(gb_RUNNABLE_INSTDIR),Package_pagein_install) \
+ $(if $(gb_RUNNABLE_INSTDIR),\
+ Package_pagein_install \
+ Package_scripts_install \
+ ) \
Package_scripts \
Pagein_calc \
Pagein_common \
diff --git a/desktop/Package_scripts_install.mk b/desktop/Package_scripts_install.mk
new file mode 100644
index 000000000000..c75f6db9b243
--- /dev/null
+++ b/desktop/Package_scripts_install.mk
@@ -0,0 +1,32 @@
+# -*- 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,desktop_scripts_install,$(SRCDIR)/desktop/scripts))
+
+$(eval $(call gb_Package_set_outdir,desktop_scripts_install,$(INSTDIR)))
+
+ifeq ($(OS),WNT)
+
+$(eval $(call gb_Package_add_file,desktop_scripts_install,bin/ure-link,ure-link))
+
+else
+
+$(eval $(call gb_Package_add_file,desktop_scripts_install,program/gdbtrace,gdbtrace))
+$(eval $(call gb_Package_add_file,desktop_scripts_install,program/sbase,sbase.sh))
+$(eval $(call gb_Package_add_file,desktop_scripts_install,program/scalc,scalc.sh))
+$(eval $(call gb_Package_add_file,desktop_scripts_install,program/sdraw,sdraw.sh))
+$(eval $(call gb_Package_add_file,desktop_scripts_install,program/simpress,simpress.sh))
+$(eval $(call gb_Package_add_file,desktop_scripts_install,program/smath,smath.sh))
+$(eval $(call gb_Package_add_file,desktop_scripts_install,program/swriter,swriter.sh))
+$(eval $(call gb_Package_add_file,desktop_scripts_install,program/unoinfo,unoinfo.sh))
+$(eval $(call gb_Package_add_file,desktop_scripts_install,program/unopkg,unopkg.sh))
+
+endif
+
+# vim: set ts=4 sw=4 noet: