diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-01-07 13:47:22 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-01-07 13:48:00 +0100 |
commit | e035b03a91324c7856577c64bcb715a1f36f6c8b (patch) | |
tree | 9b1c6e7a5cef9e79713a5d38e314fd1ee1f59966 /readlicense_oo | |
parent | 5124dc4ae6f5e4c9497f2aecaddf364f3c7a1757 (diff) |
Add readmes to instdir, too
...to reduce unnecessary differences between instdir and instsets.
(Maybe CustomTarget_readmes could even generate the README_* directly into instdir?)
Change-Id: If243a229e6f0e401abe6708899964f7b5949cc09
Diffstat (limited to 'readlicense_oo')
-rw-r--r-- | readlicense_oo/Module_readlicense_oo.mk | 1 | ||||
-rw-r--r-- | readlicense_oo/Package_readlicense_oo_readmes.mk | 17 |
2 files changed, 18 insertions, 0 deletions
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: |