summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config_host.mk.in1
-rw-r--r--configure.ac4
-rw-r--r--readlicense_oo/Module_readlicense_oo.mk1
-rw-r--r--readlicense_oo/Package_readlicense_oo_readmes.mk17
4 files changed, 23 insertions, 0 deletions
diff --git a/config_host.mk.in b/config_host.mk.in
index 06ea207884be..c5ec25ec7f1b 100644
--- a/config_host.mk.in
+++ b/config_host.mk.in
@@ -339,6 +339,7 @@ export LIBO_SHARE_FOLDER=@LIBO_SHARE_FOLDER@
export LIBO_SHARE_HELP_FOLDER=@LIBO_SHARE_HELP_FOLDER@
export LIBO_SHARE_JAVA_FOLDER=@LIBO_SHARE_JAVA_FOLDER@
export LIBO_SHARE_PRESETS_FOLDER=@LIBO_SHARE_PRESETS_FOLDER@
+export LIBO_SHARE_READMES_FOLDER=@LIBO_SHARE_READMES_FOLDER@
export LIBO_SHARE_RESOURCE_FOLDER=@LIBO_SHARE_RESOURCE_FOLDER@
export LIBO_URE_BIN_FOLDER=@LIBO_URE_BIN_FOLDER@
export LIBO_URE_ETC_FOLDER=@LIBO_URE_ETC_FOLDER@
diff --git a/configure.ac b/configure.ac
index 5c4aa27a6002..2493e136990f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3145,6 +3145,7 @@ if test $_os = Darwin; then
LIBO_SHARE_HELP_FOLDER=Resources/help
LIBO_SHARE_JAVA_FOLDER=Resources/java
LIBO_SHARE_PRESETS_FOLDER=Resources/presets
+ LIBO_SHARE_READMES_FOLDER=Resources/readmes
LIBO_SHARE_RESOURCE_FOLDER=Resources/resource
LIBO_SHARE_SHELL_FOLDER=Resources/shell
LIBO_URE_BIN_FOLDER=MacOS
@@ -3162,6 +3163,7 @@ elif test $_os = WINNT; then
LIBO_SHARE_HELP_FOLDER=help
LIBO_SHARE_JAVA_FOLDER=program/classes
LIBO_SHARE_PRESETS_FOLDER=presets
+ LIBO_SHARE_READMES_FOLDER=readmes
LIBO_SHARE_RESOURCE_FOLDER=program/resource
LIBO_SHARE_SHELL_FOLDER=program/shell
LIBO_URE_BIN_FOLDER=program
@@ -3179,6 +3181,7 @@ else
LIBO_SHARE_HELP_FOLDER=help
LIBO_SHARE_JAVA_FOLDER=program/classes
LIBO_SHARE_PRESETS_FOLDER=presets
+ LIBO_SHARE_READMES_FOLDER=readmes
LIBO_SHARE_RESOURCE_FOLDER=program/resource
LIBO_SHARE_SHELL_FOLDER=program/shell
LIBO_URE_BIN_FOLDER=program
@@ -3213,6 +3216,7 @@ AC_SUBST(LIBO_SHARE_FOLDER)
AC_SUBST(LIBO_SHARE_HELP_FOLDER)
AC_SUBST(LIBO_SHARE_JAVA_FOLDER)
AC_SUBST(LIBO_SHARE_PRESETS_FOLDER)
+AC_SUBST(LIBO_SHARE_READMES_FOLDER)
AC_SUBST(LIBO_SHARE_RESOURCE_FOLDER)
AC_SUBST(LIBO_URE_BIN_FOLDER)
AC_SUBST(LIBO_URE_ETC_FOLDER)
diff --git a/readlicense_oo/Module_readlicense_oo.mk b/readlicense_oo/Module_readlicense_oo.mk
index 3170e138aba5..f3f2a7dcc409 100644
--- a/readlicense_oo/Module_readlicense_oo.mk
+++ b/readlicense_oo/Module_readlicense_oo.mk
@@ -12,6 +12,7 @@ $(eval $(call gb_Module_Module,readlicense_oo))
$(eval $(call gb_Module_add_targets,readlicense_oo,\
CustomTarget_readme \
Package_files \
+ Package_readlicense_oo_readmes \
))
ifeq (WNT,$(OS))
diff --git a/readlicense_oo/Package_readlicense_oo_readmes.mk b/readlicense_oo/Package_readlicense_oo_readmes.mk
new file mode 100644
index 000000000000..bce3c0c6295d
--- /dev/null
+++ b/readlicense_oo/Package_readlicense_oo_readmes.mk
@@ -0,0 +1,17 @@
+# -*- 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,readlicense_oo_readmes,$(call gb_CustomTarget_get_workdir,readlicense_oo/readme)))
+
+$(eval $(call gb_Package_add_files,readlicense_oo_readmes,$(LIBO_SHARE_READMES_FOLDER), \
+ $(foreach lang,$(readlicense_oo_LANGS),$(call gb_README,$(lang))) \
+))
+ # readlicense_oo_LANGS from readlicense_oo/CustomTarget_readme.mk
+
+# vim: set noet sw=4 ts=4: