aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac16
-rw-r--r--po/LINGUAS3
4 files changed, 24 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 81e79a0bb..d2d9edba4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-02-09 Christian Persch <chpe@cvs.gnome.org>
+
+ * configure.ac:
+ A po/LINGUAS:
+
+ Get list of languages from po/LINGUAS.
+
2005-02-08 Christian Persch <chpe@cvs.gnome.org>
* configure.ac:
diff --git a/Makefile.am b/Makefile.am
index 4a3fc3883..856e7a8e3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,7 +2,7 @@
SUBDIRS = lib embed idl src data po help doc
-distcleancheck_listfiles = find . -type f -print | grep -v -e 'omf\.out' -e '\.gmo$'
+distcleancheck_listfiles = find . -type f -print | grep -v 'omf\.out'
distuninstallcheck_listfiles = find . -type f -print | grep -v '/var/scrollkeeper'
diff --git a/configure.ac b/configure.ac
index 0a0c5f44e..d3a506962 100644
--- a/configure.ac
+++ b/configure.ac
@@ -561,20 +561,30 @@ if test "x$have_iso_codes" = "xyes"; then
AC_DEFINE([HAVE_ISO_CODES],[1],[Define if you have the iso-codes package])
fi
-dnl Add the languages which your application supports here.
-ALL_LINGUAS="am ar az be bg bn bs ca cs cy da de el en_CA en_GB es et eu fa fi fr ga gu he hi hr hu id is it ja ko li lt mi mk ml mn ms nb ne nl nn no pa pl pt pt_BR ro ru sk sl sq sr sr@Latn sv ta th tk tr uk vi wa zh_CN zh_TW"
+dnl Translators: new languages must be added to the po/LINGUAS file
+ALL_LINGUAS="`cat "$srcdir/po/LINGUAS" | grep -v '^#'`"
+
+AC_SUBST([CONFIG_STATUS_DEPENDENCIES],['$(top_srcdir)/po/LINGUAS'])
GETTEXT_PACKAGE=epiphany
AC_SUBST([GETTEXT_PACKAGE])
-AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], ["$GETTEXT_PACKAGE"], [Gettext package])
+AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext package])
AM_GLIB_GNU_GETTEXT
AM_GLIB_DEFINE_LOCALEDIR([GNOMELOCALEDIR])
dnl uninstalled share dir to search data
AC_DEFINE_UNQUOTED([SHARE_UNINSTALLED_DIR], ["`pwd`/data"], [path to source data dir])
+dnl *****************
+dnl API Documentation
+dnl *****************
+
GTK_DOC_CHECK([1.0])
+dnl ************
+dnl Output files
+dnl ************
+
AC_CONFIG_FILES([
Makefile
data/Makefile
diff --git a/po/LINGUAS b/po/LINGUAS
new file mode 100644
index 000000000..8fb09ff93
--- /dev/null
+++ b/po/LINGUAS
@@ -0,0 +1,3 @@
+# please keep this list sorted alphabetically
+#
+am ar az be bg bn bs ca cs cy da de el en_CA en_GB es et eu fa fi fr ga gu he hi hr hu id is it ja ko li lt mi mk ml mn ms nb ne nl nn no pa pl pt pt_BR ro ru sk sl sq sr sr@Latn sv ta th tk tr uk vi wa zh_CN zh_TW