[gnome-desktop/wip/fmuellner/meson: 4/8] desktop-docs: Use LINGUAS file to list languages
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-desktop/wip/fmuellner/meson: 4/8] desktop-docs: Use LINGUAS file to list languages
- Date: Wed, 12 Sep 2018 11:56:10 +0000 (UTC)
commit 72c88a0d8fef1c5a9c9dcd02afc14b26772e0d3b
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Aug 2 12:38:51 2018 +0200
desktop-docs: Use LINGUAS file to list languages
This is what meson's gnome.yelp() function prefers, and we can make
it work with autotools as well ...
https://gitlab.gnome.org/GNOME/gnome-desktop/merge_requests/7
desktop-docs/fdl/LINGUAS | 18 ++++++++++++++++++
desktop-docs/fdl/Makefile.am | 2 +-
desktop-docs/gpl/LINGUAS | 23 +++++++++++++++++++++++
desktop-docs/gpl/Makefile.am | 2 +-
desktop-docs/lgpl/LINGUAS | 19 +++++++++++++++++++
desktop-docs/lgpl/Makefile.am | 2 +-
6 files changed, 63 insertions(+), 3 deletions(-)
---
diff --git a/desktop-docs/fdl/LINGUAS b/desktop-docs/fdl/LINGUAS
new file mode 100644
index 00000000..9fa0f8b1
--- /dev/null
+++ b/desktop-docs/fdl/LINGUAS
@@ -0,0 +1,18 @@
+ar
+ca
+cs
+el
+es
+eu
+fr
+gl
+hu
+ko
+oc
+pt_BR
+sl
+sv
+uk
+vi
+de
+zh_CN
diff --git a/desktop-docs/fdl/Makefile.am b/desktop-docs/fdl/Makefile.am
index cb1d5e98..1dec5866 100644
--- a/desktop-docs/fdl/Makefile.am
+++ b/desktop-docs/fdl/Makefile.am
@@ -4,6 +4,6 @@ HELP_ID = fdl
HELP_FILES = index.docbook
HELP_MEDIA =
-HELP_LINGUAS = ar ca cs el es eu fr gl hu ko oc pt_BR sl sv uk vi de zh_CN
+HELP_LINGUAS = $(shell cat $(srcdir)/LINGUAS)
-include $(top_srcdir)/git.mk
diff --git a/desktop-docs/gpl/LINGUAS b/desktop-docs/gpl/LINGUAS
new file mode 100644
index 00000000..aa1f4670
--- /dev/null
+++ b/desktop-docs/gpl/LINGUAS
@@ -0,0 +1,23 @@
+ar
+ca
+cs
+de
+el
+es
+eu
+fi
+fr
+gl
+hu
+ko
+nds
+oc
+pa
+pt_BR
+sl
+sr
+sr@latin
+sv
+uk
+vi
+zh_CN
diff --git a/desktop-docs/gpl/Makefile.am b/desktop-docs/gpl/Makefile.am
index cec56f94..4c1d68e8 100644
--- a/desktop-docs/gpl/Makefile.am
+++ b/desktop-docs/gpl/Makefile.am
@@ -4,6 +4,6 @@ HELP_ID = gpl
HELP_FILES = index.docbook
HELP_MEDIA =
-HELP_LINGUAS = ar ca cs el es eu fi fr gl hu ko nds oc pa pt_BR sl sr sr@latin uk vi zh_CN sv de
+HELP_LINGUAS = $(shell cat $(srcdir)/LINGUAS)
-include $(top_srcdir)/git.mk
diff --git a/desktop-docs/lgpl/LINGUAS b/desktop-docs/lgpl/LINGUAS
new file mode 100644
index 00000000..5ad6e5d5
--- /dev/null
+++ b/desktop-docs/lgpl/LINGUAS
@@ -0,0 +1,19 @@
+ar
+ca
+cs
+de
+el
+es
+eu
+fi
+fr
+hu
+ko
+oc
+pa
+pt_BR
+sl
+sv
+uk
+vi
+zh_CN
diff --git a/desktop-docs/lgpl/Makefile.am b/desktop-docs/lgpl/Makefile.am
index 6e32e721..d9005277 100644
--- a/desktop-docs/lgpl/Makefile.am
+++ b/desktop-docs/lgpl/Makefile.am
@@ -4,6 +4,6 @@ HELP_ID = lgpl
HELP_FILES = index.docbook
HELP_MEDIA =
-HELP_LINGUAS = ar ca cs de el es eu fi fr hu ko oc pa pt_BR sl sv uk vi zh_CN
+HELP_LINGUAS = $(shell cat $(srcdir)/LINGUAS)
-include $(top_srcdir)/git.mk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]