From ead66385e7c811a2da7ba0757fc77816621b20e7 Mon Sep 17 00:00:00 2001
From: Dimitur Kirov <dkirov@gmail.com>
Date: Wed, 11 Oct 2006 09:19:01 +0000
Subject: [PATCH] move ALL_LINGUAS to po/LINGUAS fix install location for
 servers.xml

---
 autogen.sh       | 1 +
 configure        | 1 -
 configure.ac     | 1 -
 data/Makefile.am | 5 +++--
 data/Makefile.in | 5 +++--
 po/LINGUAS       | 2 ++
 6 files changed, 9 insertions(+), 6 deletions(-)
 create mode 100644 po/LINGUAS

diff --git a/autogen.sh b/autogen.sh
index 9502c37e29..4d65142e8b 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,4 +1,5 @@
 #!/bin/sh
+set -x
   intltoolize --force --automake \
   && aclocal -I ./m4 \
   && libtoolize --copy --force --automake \
diff --git a/configure b/configure
index 71b4b8af7a..040e86a534 100755
--- a/configure
+++ b/configure
@@ -22002,7 +22002,6 @@ cat >>confdefs.h <<_ACEOF
 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 _ACEOF
 
-ALL_LINGUAS="fr pt el pl es ru bg de nb cs nl pt_BR sv it eu sk no zh_CN br eo"
 
 
 for ac_header in locale.h
diff --git a/configure.ac b/configure.ac
index 689392671f..3ab972e345 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,7 +24,6 @@ AC_PATH_X
 GETTEXT_PACKAGE=gajim
 AC_SUBST([GETTEXT_PACKAGE])
 AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"], [Gettext package])
-ALL_LINGUAS="fr pt el pl es ru bg de nb cs nl pt_BR sv it eu sk no zh_CN br eo"
 AM_GLIB_GNU_GETTEXT
 AM_NLS
 
diff --git a/data/Makefile.am b/data/Makefile.am
index 43f1bb6e8f..d57cd6a133 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,4 +1,5 @@
 SUBDIRS = glade emoticons pixmaps iconsets 
+@INTLTOOL_DESKTOP_RULE@
 
 desktopdir = $(datadir)/applications
 desktop_in_files = gajim.desktop.in.in 
@@ -7,12 +8,11 @@ desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop)
 soundsdir = $(pkgdatadir)/data/sounds
 sounds_DATA = $(srcdir)/sounds/*.wav
 
-otherdir = $(pkgdatadir)/data/others
+otherdir = $(pkgdatadir)/data/other
 other_DATA = other/servers.xml
 
 man_MANS = gajim.1 gajim-remote.1
 
-@INTLTOOL_DESKTOP_RULE@
 
 EXTRA_DIST = $(desktop_in_files) \
 			 $(sounds_DATA) \
@@ -21,3 +21,4 @@ EXTRA_DIST = $(desktop_in_files) \
 
 DISTCLEANFILES = $(desktop_DATA)
 
+CLEANFILES = gajim.desktop
diff --git a/data/Makefile.in b/data/Makefile.in
index 3e0e22fcaf..6ee916d940 100644
--- a/data/Makefile.in
+++ b/data/Makefile.in
@@ -257,7 +257,7 @@ desktop_in_files = gajim.desktop.in.in
 desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop)
 soundsdir = $(pkgdatadir)/data/sounds
 sounds_DATA = $(srcdir)/sounds/*.wav
-otherdir = $(pkgdatadir)/data/others
+otherdir = $(pkgdatadir)/data/other
 other_DATA = other/servers.xml
 man_MANS = gajim.1 gajim-remote.1
 EXTRA_DIST = $(desktop_in_files) \
@@ -266,6 +266,7 @@ EXTRA_DIST = $(desktop_in_files) \
 			 $(man_MANS)
 
 DISTCLEANFILES = $(desktop_DATA)
+CLEANFILES = gajim.desktop
 all: all-recursive
 
 .SUFFIXES:
@@ -607,6 +608,7 @@ install-strip:
 mostlyclean-generic:
 
 clean-generic:
+	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
 
 distclean-generic:
 	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
@@ -684,7 +686,6 @@ uninstall-man: uninstall-man1
 	uninstall-desktopDATA uninstall-info-am uninstall-man \
 	uninstall-man1 uninstall-otherDATA uninstall-soundsDATA
 
-
 @INTLTOOL_DESKTOP_RULE@
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/po/LINGUAS b/po/LINGUAS
new file mode 100644
index 0000000000..86c6f8b9b6
--- /dev/null
+++ b/po/LINGUAS
@@ -0,0 +1,2 @@
+# available languages
+fr pt el pl es ru bg de nb cs nl pt_BR sv it eu sk no zh_CN br eo
-- 
GitLab