[gnome-desktop/wip/fmuellner/meson: 36/40] 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: 36/40] desktop-docs: Use LINGUAS file to list languages
- Date: Wed, 12 Sep 2018 11:56:15 +0000 (UTC)
commit d8b8a9ccabd8b9351b762210693f067fc7f5e4a9
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 | 17 +++++++++++++++++
desktop-docs/fdl/Makefile.am | 2 +-
desktop-docs/gpl/LINGUAS | 23 +++++++++++++++++++++++
desktop-docs/gpl/Makefile.am | 2 +-
desktop-docs/lgpl/LINGUAS | 18 ++++++++++++++++++
desktop-docs/lgpl/Makefile.am | 2 +-
6 files changed, 61 insertions(+), 3 deletions(-)
---
diff --git a/desktop-docs/fdl/LINGUAS b/desktop-docs/fdl/LINGUAS
new file mode 100644
index 00000000..aade16a5
--- /dev/null
+++ b/desktop-docs/fdl/LINGUAS
@@ -0,0 +1,17 @@
+ar
+ca
+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 71ec4004..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 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..25cf628d
--- /dev/null
+++ b/desktop-docs/lgpl/LINGUAS
@@ -0,0 +1,18 @@
+ar
+ca
+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 59bcd77a..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 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]