summaryrefslogtreecommitdiff
path: root/extras/Package_labels.mk
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2013-02-13 16:40:34 +0100
committerMichael Meeks <michael.meeks@suse.com>2013-02-14 09:35:03 +0000
commitd1f7124c4bec104d0ee12927cba3f67f56b11829 (patch)
treea942b5bc4f8aa0aa4573924d77fc589caaf77114 /extras/Package_labels.mk
parent8cefe14f428ab5521f10962ff68b02151d1207ad (diff)
Get Labels.xcu out of configuration data.
Modify the file format, install separately into share/labels, and parse it using xmlreader when needed. Saves time on startup and reduces pointless configurarion size.
Diffstat (limited to 'extras/Package_labels.mk')
-rw-r--r--extras/Package_labels.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/extras/Package_labels.mk b/extras/Package_labels.mk
new file mode 100644
index 000000000000..6291b13803d0
--- /dev/null
+++ b/extras/Package_labels.mk
@@ -0,0 +1,14 @@
+# -*- 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,extras_labels,$(SRCDIR)/extras/source/labels))
+
+$(eval $(call gb_Package_add_file,extras_labels,pck/labels.xml,labels.xml))
+
+# vim: set noet sw=4 ts=4: