summaryrefslogtreecommitdiff
path: root/ure/Package_builddir_install.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-08-10 19:41:24 +0300
committerTor Lillqvist <tml@collabora.com>2014-08-10 19:43:32 +0300
commit8e9487cf97d944b202d4406561b88068aaf8e386 (patch)
tree0da6585cb3aa16abc4aac0db5c337accced657f5 /ure/Package_builddir_install.mk
parent5b9509115bd4adc5ef2618f0d9436cda1c0d9fbe (diff)
Ugly hack to fix build when srcdir!=builddir
The problem is that the ure/source/unorc file is now expanded by the configure script, and thus exists only in builddir. But a further complication is that the uno.ini file is in srcdir. This is one way to handle it. Seems to work for me, let's see what the srcdir!=builddir tinderbox slaves say. Change-Id: I6fb456cf849ce5077e2c5bd25dc9149096aab241
Diffstat (limited to 'ure/Package_builddir_install.mk')
-rw-r--r--ure/Package_builddir_install.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/ure/Package_builddir_install.mk b/ure/Package_builddir_install.mk
new file mode 100644
index 000000000000..c109bd47a325
--- /dev/null
+++ b/ure/Package_builddir_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_Package_Package,ure_builddir_install,$(BUILDDIR)/ure/source))
+
+$(eval $(call gb_Package_add_files,ure_builddir_install,$(LIBO_URE_ETC_FOLDER),\
+ $(if $(filter unorc,$(call gb_Helper_get_rcfile,uno)),$(call gb_Helper_get_rcfile,uno)) \
+))
+
+# vim:set noet sw=4 ts=4: