diff --git a/liblangtag/ExternalPackage_liblangtag_data.mk b/liblangtag/ExternalPackage_liblangtag_data.mk new file mode 100644 index 000000000000..a56211f787b5 --- /dev/null +++ b/liblangtag/ExternalPackage_liblangtag_data.mk @@ -0,0 +1,30 @@ +# -*- 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_ExternalPackage_ExternalPackage,liblangtag_data,langtag)) + +$(eval $(call gb_ExternalPackage_set_outdir,liblangtag_data,$(INSTDIR))) + +$(eval $(call gb_ExternalPackage_add_unpacked_files,liblangtag_data,share/liblangtag,\ + data/language-subtag-registry.xml \ + data/common/bcp47/calendar.xml \ + data/common/bcp47/collation.xml \ + data/common/bcp47/currency.xml \ + data/common/bcp47/number.xml \ + data/common/bcp47/timezone.xml \ + data/common/bcp47/transform.xml \ + data/common/bcp47/transform_ime.xml \ + data/common/bcp47/transform_keyboard.xml \ + data/common/bcp47/transform_mt.xml \ + data/common/bcp47/transform_private_use.xml \ + data/common/bcp47/variant.xml \ + data/common/supplemental/likelySubtags.xml \ +)) + +# vim: set shiftwidth=4 tabstop=4 noexpandtab: diff --git a/liblangtag/Module_liblangtag.mk b/liblangtag/Module_liblangtag.mk index b5e9cc3b54ca..36201f86c782 100644 --- a/liblangtag/Module_liblangtag.mk +++ b/liblangtag/Module_liblangtag.mk @@ -17,7 +17,7 @@ $(eval $(call gb_Module_add_targets,liblangtag,\ ExternalPackage_langtag_data \ ExternalPackage_langtag \ ExternalProject_langtag \ - Zip_liblangtag_data \ + ExternalPackage_liblangtag_data \ )) endif endif diff --git a/liblangtag/Zip_liblangtag_data.mk b/liblangtag/Zip_liblangtag_data.mk deleted file mode 100644 index 54b308065f83..000000000000 --- a/liblangtag/Zip_liblangtag_data.mk +++ /dev/null @@ -1,30 +0,0 @@ -# -*- 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_Zip_Zip,liblangtag_data,$(call gb_UnpackedTarball_get_dir,langtag/data))) - -$(eval $(call gb_Zip_use_unpacked,liblangtag_data,langtag)) - -$(eval $(call gb_Zip_add_files,liblangtag_data,\ - language-subtag-registry.xml \ - common/bcp47/calendar.xml \ - common/bcp47/collation.xml \ - common/bcp47/currency.xml \ - common/bcp47/number.xml \ - common/bcp47/timezone.xml \ - common/bcp47/transform.xml \ - common/bcp47/transform_ime.xml \ - common/bcp47/transform_keyboard.xml \ - common/bcp47/transform_mt.xml \ - common/bcp47/transform_private_use.xml \ - common/bcp47/variant.xml \ - common/supplemental/likelySubtags.xml \ -)) - -# vim: set shiftwidth=4 tabstop=4 noexpandtab: diff --git a/scp2/source/ooo/file_extra_ooo.scp b/scp2/source/ooo/file_extra_ooo.scp index 0a804d3c8f50..96cffcca1a23 100644 --- a/scp2/source/ooo/file_extra_ooo.scp +++ b/scp2/source/ooo/file_extra_ooo.scp @@ -147,10 +147,10 @@ End #if defined( ENABLE_LIBLANGTAG ) && !defined( SYSTEM_LIBLANGTAG ) File gid_File_Extra_Liblangtag - Dir = gid_Dir_Share_Liblangtag; + Dir = FILELIST_DIR; USER_FILE_BODY; - Styles = (ARCHIVE); - Name = "liblangtag_data.zip"; + Styles = (FILELIST); + Name = "liblangtag_data.filelist"; End #endif