diff options
author | Tamas Bunth <tamas.bunth@collabora.co.uk> | 2019-03-04 16:54:06 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2019-03-19 15:16:51 +0100 |
commit | 7a9f6df7fb83ec23d09cb5744c2c865fa22e7143 (patch) | |
tree | 62af385480790172d4d55ccc05d88432c41aa6db /readlicense_oo/Package_files.mk | |
parent | Update git submodules (diff) | |
download | core-7a9f6df7fb83ec23d09cb5744c2c865fa22e7143.tar.gz core-7a9f6df7fb83ec23d09cb5744c2c865fa22e7143.zip |
single source file for licensing info with conditional text
... for easier maintenance. This commit only introduces the
framework. Follow up commits will update the license file.
Advantages:
* single source, multiple outputs (html, txt)
* conditional text, i.e. output will not include license
terms of components that are not configured in the build
Change-Id: I0ffad41119228a0a26fd1b6ce19930ca6085adb2
Reviewed-on: https://gerrit.libreoffice.org/69396
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'readlicense_oo/Package_files.mk')
-rw-r--r-- | readlicense_oo/Package_files.mk | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/readlicense_oo/Package_files.mk b/readlicense_oo/Package_files.mk index 0570a79ee82f..101d3878de3f 100644 --- a/readlicense_oo/Package_files.mk +++ b/readlicense_oo/Package_files.mk @@ -9,26 +9,12 @@ $(eval $(call gb_Package_Package,readlicense_oo_files,$(SRCDIR)/readlicense_oo/license)) -# LICENSE (upper case) is copied without EOL conversion -# license.txt is converted, prior to copy, see Package_license.mk -ifneq ($(OS),WNT) -ifneq ($(OS),MACOSX) -$(eval $(call gb_Package_add_file,readlicense_oo_files,LICENSE,LICENSE)) -else -$(eval $(call gb_Package_add_file,readlicense_oo_files,Resources/LICENSE,LICENSE)) -endif -endif - ifneq ($(OS),MACOSX) $(eval $(call gb_Package_add_file,readlicense_oo_files,NOTICE,NOTICE)) -$(eval $(call gb_Package_add_file,readlicense_oo_files,LICENSE.fodt,LICENSE.fodt)) $(eval $(call gb_Package_add_file,readlicense_oo_files,CREDITS.fodt,CREDITS.fodt)) -$(eval $(call gb_Package_add_file,readlicense_oo_files,LICENSE.html,LICENSE.html)) else $(eval $(call gb_Package_add_file,readlicense_oo_files,Resources/NOTICE,NOTICE)) -$(eval $(call gb_Package_add_file,readlicense_oo_files,Resources/LICENSE.fodt,LICENSE.fodt)) $(eval $(call gb_Package_add_file,readlicense_oo_files,Resources/CREDITS.fodt,CREDITS.fodt)) -$(eval $(call gb_Package_add_file,readlicense_oo_files,Resources/LICENSE.html,LICENSE.html)) endif # vim: set noet sw=4 ts=4: |