diff options
author | David Tardon <dtardon@redhat.com> | 2013-05-05 14:28:02 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-05-05 14:28:02 +0200 |
commit | e37c63a1d73fadee4fbd2e2b6650f5d1a23d0e50 (patch) | |
tree | 79719c3550e41580873f6efebdcccfbf4b48a731 | |
parent | b08a5ac83be0c5323c064da07dad64c8958c8026 (diff) |
copy scripts to instdir
Change-Id: Id7367d8f540f708071df89fd056dba485751df1c
-rw-r--r-- | desktop/Module_desktop.mk | 5 | ||||
-rw-r--r-- | desktop/Package_scripts_install.mk | 32 |
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: |