[Libreoffice-commits] core.git: desktop/CustomTarget_desktop_unopackages_install.mk desktop/GeneratedPackage_desktop_unopackages_install.mk desktop/Module_desktop.mk

Stephan Bergmann sbergman at redhat.com
Thu Oct 17 05:34:11 PDT 2013


 desktop/CustomTarget_desktop_unopackages_install.mk     |   19 ++++++++++++++++
 desktop/GeneratedPackage_desktop_unopackages_install.mk |   16 +++++++++++++
 desktop/Module_desktop.mk                               |    2 +
 3 files changed, 37 insertions(+)

New commits:
commit 6fe26facd06d4d1e5e37384d25d83209209229fa
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Oct 17 14:29:00 2013 +0200

    Produce empty share/uno_packages/cache/uno_packages/ hier in instdir, too
    
    ...though the way to do it is probably somewhat overblown...
    
    Change-Id: I9b0da2913e0584eaf7d2ec98d1a29e1d78533d51

diff --git a/desktop/CustomTarget_desktop_unopackages_install.mk b/desktop/CustomTarget_desktop_unopackages_install.mk
new file mode 100644
index 0000000..f16845f
--- /dev/null
+++ b/desktop/CustomTarget_desktop_unopackages_install.mk
@@ -0,0 +1,19 @@
+# -*- 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_CustomTarget_CustomTarget,desktop/unopackages_install))
+
+$(call gb_CustomTarget_get_target,desktop/unopackages_install) : | \
+    $(call gb_CustomTarget_get_workdir,desktop/unopackages_install)/uno_packages/cache/uno_packages
+
+$(call gb_CustomTarget_get_workdir,desktop/unopackages_install)/uno_packages/cache/uno_packages : | \
+    $(call gb_CustomTarget_get_workdir,desktop/unopackages_install)/.dir
+	mkdir -p $@
+
+# vim: set noet sw=4 ts=4:
diff --git a/desktop/GeneratedPackage_desktop_unopackages_install.mk b/desktop/GeneratedPackage_desktop_unopackages_install.mk
new file mode 100644
index 0000000..243396c
--- /dev/null
+++ b/desktop/GeneratedPackage_desktop_unopackages_install.mk
@@ -0,0 +1,16 @@
+# -*- 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,desktop_unopackages_install,$(call gb_CustomTarget_get_workdir,desktop/unopackages_install)))
+
+$(eval $(call gb_GeneratedPackage_use_customtarget,desktop_unopackages_install,desktop/unopackages_install))
+
+$(eval $(call gb_GeneratedPackage_add_dir,desktop_unopackages_install,$(INSTROOT)/share/uno_packages,uno_packages))
+
+# vim: set noet sw=4 ts=4:
diff --git a/desktop/Module_desktop.mk b/desktop/Module_desktop.mk
index 8c1dd94..e13e8fc 100644
--- a/desktop/Module_desktop.mk
+++ b/desktop/Module_desktop.mk
@@ -13,6 +13,8 @@ $(eval $(call gb_Module_add_targets,desktop,\
     AllLangResTarget_deployment \
     AllLangResTarget_deploymentgui \
     AllLangResTarget_dkt \
+    CustomTarget_desktop_unopackages_install \
+    GeneratedPackage_desktop_unopackages_install \
     Library_deployment \
     Library_deploymentgui \
     Library_deploymentmisc \


More information about the Libreoffice-commits mailing list