summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Müllner <fmuellner@gnome.org>2018-08-02 12:38:51 +0200
committerFlorian Müllner <fmuellner@gnome.org>2018-08-06 20:58:49 +0200
commita51b060ae6a666963cdebba5ff1f68b83db117aa (patch)
tree095b3bfcefdd1ff47700c6e93dc62af98251364c
parentd6ca09a0f66afa8c21cd264cab5c3f79df59a83c (diff)
downloadgnome-desktop-a51b060ae6a666963cdebba5ff1f68b83db117aa.tar.gz
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
-rw-r--r--desktop-docs/fdl/LINGUAS17
-rw-r--r--desktop-docs/fdl/Makefile.am2
-rw-r--r--desktop-docs/gpl/LINGUAS23
-rw-r--r--desktop-docs/gpl/Makefile.am2
-rw-r--r--desktop-docs/lgpl/LINGUAS18
-rw-r--r--desktop-docs/lgpl/Makefile.am2
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