summaryrefslogtreecommitdiff
path: root/postprocess
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-04-28 10:21:10 +0200
committerDavid Tardon <dtardon@redhat.com>2013-04-28 16:34:25 +0200
commite203f79faac1d26e0d6883be9f0ff88eaaf484ed (patch)
tree8c5acafb286211df81ad7aab136337ff7f6928b8 /postprocess
parentecc07f080fba809dd3f87c88a2b265c1c63bf2dd (diff)
copy xcd files to instdir
Change-Id: Idbde83eab55864c16e3472397cb5bd433cf2431c
Diffstat (limited to 'postprocess')
-rw-r--r--postprocess/Module_postprocess.mk1
-rw-r--r--postprocess/Package_registry_install.mk23
2 files changed, 24 insertions, 0 deletions
diff --git a/postprocess/Module_postprocess.mk b/postprocess/Module_postprocess.mk
index 1a52832f0c79..6a381918e2cd 100644
--- a/postprocess/Module_postprocess.mk
+++ b/postprocess/Module_postprocess.mk
@@ -29,6 +29,7 @@ endif
ifneq ($(gb_RUNNABLE_INSTDIR),)
$(eval $(call gb_Module_add_targets,postprocess,\
Package_images_install \
+ Package_registry_install \
))
endif
diff --git a/postprocess/Package_registry_install.mk b/postprocess/Package_registry_install.mk
new file mode 100644
index 000000000000..ca9f7c2c8527
--- /dev/null
+++ b/postprocess/Package_registry_install.mk
@@ -0,0 +1,23 @@
+# -*- 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,postprocess_registry_install,$(call gb_CustomTarget_get_workdir,postprocess/registry)))
+
+$(eval $(call gb_Package_set_outdir,postprocess_registry_install,$(INSTDIR)))
+
+$(eval $(call gb_Package_add_files,postprocess_registry_install,share/registry,\
+ $(postprocess_XCDS) \
+ $(foreach lang,$(gb_Configuration_LANGS), \
+ Langpack-$(lang).xcd \
+ fcfg_langpack_$(lang).xcd \
+ registry_$(lang).xcd \
+ ) \
+))
+
+# vim: set noet sw=4 ts=4: