]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Try to avoid "execvp: /bin/sh: Arg list too long" error on IRIX.
authorBruno Haible <bruno@clisp.org>
Mon, 4 Dec 2006 15:36:49 +0000 (15:36 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:14:26 +0000 (12:14 +0200)
gettext-tools/examples/ChangeLog
gettext-tools/examples/Makefile.am

index 5eaef7fa03249e3d5b20f8a1c9dae7e976d1f30a..f2f5ae4255be87d2788c2da1c40c5d863faa2f47 100644 (file)
@@ -1,3 +1,12 @@
+2006-12-04  Bruno Haible  <bruno@clisp.org>
+
+       Work around small sh argument length limit on IRIX.
+       * Makefile.am (EXAMPLESFILES): Remove the common files in po
+       directories.
+       (EXAMPLESDIRS, EXAMPLESPOFILES): New variables.
+       (install-data-local, installdirs-local, uninstall-local, distdir1): Use
+       doubly-nested loop for the common files in po directories.
+
 2006-10-27  Bruno Haible  <bruno@clisp.org>
 
        Work around automake-1.10 annoyance.
index d7a0533428cbe0b66555d29d5c072d4710a0f6f3..0554922a4057f1b5f8646f09dffc2924b0dfc3eb 100644 (file)
@@ -27,6 +27,7 @@ examplesdir = $(docdir)/examples
 
 examples_DATA = installpaths
 
+# List of examples files, excluding the localizations.
 EXAMPLESFILES = \
   \
   hello-c/INSTALL \
@@ -38,34 +39,6 @@ EXAMPLESFILES = \
   hello-c/m4/Makefile.am \
   hello-c/po/Makevars \
   hello-c/po/POTFILES.in \
-  hello-c/po/LINGUAS \
-  hello-c/po/af.po \
-  hello-c/po/ca.po \
-  hello-c/po/de.po \
-  hello-c/po/el.po \
-  hello-c/po/eo.po \
-  hello-c/po/es.po \
-  hello-c/po/fr.po \
-  hello-c/po/ga.po \
-  hello-c/po/hu.po \
-  hello-c/po/id.po \
-  hello-c/po/it.po \
-  hello-c/po/ja.po \
-  hello-c/po/nl.po \
-  hello-c/po/pl.po \
-  hello-c/po/pt.po \
-  hello-c/po/ro.po \
-  hello-c/po/ru.po \
-  hello-c/po/sk.po \
-  hello-c/po/sl.po \
-  hello-c/po/sr.po \
-  hello-c/po/sv.po \
-  hello-c/po/tr.po \
-  hello-c/po/uk.po \
-  hello-c/po/vi.po \
-  hello-c/po/zh_CN.po \
-  hello-c/po/zh_HK.po \
-  hello-c/po/zh_TW.po \
   \
   hello-c-gnome/INSTALL \
   hello-c-gnome/autogen.sh \
@@ -79,34 +52,6 @@ EXAMPLESFILES = \
   hello-c-gnome/m4/gnome-orbit-check.m4 \
   hello-c-gnome/po/Makevars \
   hello-c-gnome/po/POTFILES.in \
-  hello-c-gnome/po/LINGUAS \
-  hello-c-gnome/po/af.po \
-  hello-c-gnome/po/ca.po \
-  hello-c-gnome/po/de.po \
-  hello-c-gnome/po/el.po \
-  hello-c-gnome/po/eo.po \
-  hello-c-gnome/po/es.po \
-  hello-c-gnome/po/fr.po \
-  hello-c-gnome/po/ga.po \
-  hello-c-gnome/po/hu.po \
-  hello-c-gnome/po/id.po \
-  hello-c-gnome/po/it.po \
-  hello-c-gnome/po/ja.po \
-  hello-c-gnome/po/nl.po \
-  hello-c-gnome/po/pl.po \
-  hello-c-gnome/po/pt.po \
-  hello-c-gnome/po/ro.po \
-  hello-c-gnome/po/ru.po \
-  hello-c-gnome/po/sk.po \
-  hello-c-gnome/po/sl.po \
-  hello-c-gnome/po/sr.po \
-  hello-c-gnome/po/sv.po \
-  hello-c-gnome/po/tr.po \
-  hello-c-gnome/po/uk.po \
-  hello-c-gnome/po/vi.po \
-  hello-c-gnome/po/zh_CN.po \
-  hello-c-gnome/po/zh_HK.po \
-  hello-c-gnome/po/zh_TW.po \
   \
   hello-c++/INSTALL \
   hello-c++/autogen.sh \
@@ -117,34 +62,6 @@ EXAMPLESFILES = \
   hello-c++/m4/Makefile.am \
   hello-c++/po/Makevars \
   hello-c++/po/POTFILES.in \
-  hello-c++/po/LINGUAS \
-  hello-c++/po/af.po \
-  hello-c++/po/ca.po \
-  hello-c++/po/de.po \
-  hello-c++/po/el.po \
-  hello-c++/po/eo.po \
-  hello-c++/po/es.po \
-  hello-c++/po/fr.po \
-  hello-c++/po/ga.po \
-  hello-c++/po/hu.po \
-  hello-c++/po/id.po \
-  hello-c++/po/it.po \
-  hello-c++/po/ja.po \
-  hello-c++/po/nl.po \
-  hello-c++/po/pl.po \
-  hello-c++/po/pt.po \
-  hello-c++/po/ro.po \
-  hello-c++/po/ru.po \
-  hello-c++/po/sk.po \
-  hello-c++/po/sl.po \
-  hello-c++/po/sr.po \
-  hello-c++/po/sv.po \
-  hello-c++/po/tr.po \
-  hello-c++/po/uk.po \
-  hello-c++/po/vi.po \
-  hello-c++/po/zh_CN.po \
-  hello-c++/po/zh_HK.po \
-  hello-c++/po/zh_TW.po \
   \
   hello-c++-qt/INSTALL \
   hello-c++-qt/BUGS \
@@ -156,34 +73,6 @@ EXAMPLESFILES = \
   hello-c++-qt/m4/Makefile.am \
   hello-c++-qt/m4/qt.m4 \
   hello-c++-qt/po/Makefile.am \
-  hello-c++-qt/po/LINGUAS \
-  hello-c++-qt/po/af.po \
-  hello-c++-qt/po/ca.po \
-  hello-c++-qt/po/de.po \
-  hello-c++-qt/po/el.po \
-  hello-c++-qt/po/eo.po \
-  hello-c++-qt/po/es.po \
-  hello-c++-qt/po/fr.po \
-  hello-c++-qt/po/ga.po \
-  hello-c++-qt/po/hu.po \
-  hello-c++-qt/po/id.po \
-  hello-c++-qt/po/it.po \
-  hello-c++-qt/po/ja.po \
-  hello-c++-qt/po/nl.po \
-  hello-c++-qt/po/pl.po \
-  hello-c++-qt/po/pt.po \
-  hello-c++-qt/po/ro.po \
-  hello-c++-qt/po/ru.po \
-  hello-c++-qt/po/sk.po \
-  hello-c++-qt/po/sl.po \
-  hello-c++-qt/po/sr.po \
-  hello-c++-qt/po/sv.po \
-  hello-c++-qt/po/tr.po \
-  hello-c++-qt/po/uk.po \
-  hello-c++-qt/po/vi.po \
-  hello-c++-qt/po/zh_CN.po \
-  hello-c++-qt/po/zh_HK.po \
-  hello-c++-qt/po/zh_TW.po \
   \
   hello-c++-kde/INSTALL \
   hello-c++-kde/BUGS \
@@ -221,34 +110,6 @@ EXAMPLESFILES = \
   hello-c++-kde/admin/ylwrap \
   hello-c++-kde/po/Makevars \
   hello-c++-kde/po/POTFILES.in \
-  hello-c++-kde/po/LINGUAS \
-  hello-c++-kde/po/af.po \
-  hello-c++-kde/po/ca.po \
-  hello-c++-kde/po/de.po \
-  hello-c++-kde/po/el.po \
-  hello-c++-kde/po/eo.po \
-  hello-c++-kde/po/es.po \
-  hello-c++-kde/po/fr.po \
-  hello-c++-kde/po/ga.po \
-  hello-c++-kde/po/hu.po \
-  hello-c++-kde/po/id.po \
-  hello-c++-kde/po/it.po \
-  hello-c++-kde/po/ja.po \
-  hello-c++-kde/po/nl.po \
-  hello-c++-kde/po/pl.po \
-  hello-c++-kde/po/pt.po \
-  hello-c++-kde/po/ro.po \
-  hello-c++-kde/po/ru.po \
-  hello-c++-kde/po/sk.po \
-  hello-c++-kde/po/sl.po \
-  hello-c++-kde/po/sr.po \
-  hello-c++-kde/po/sv.po \
-  hello-c++-kde/po/tr.po \
-  hello-c++-kde/po/uk.po \
-  hello-c++-kde/po/vi.po \
-  hello-c++-kde/po/zh_CN.po \
-  hello-c++-kde/po/zh_HK.po \
-  hello-c++-kde/po/zh_TW.po \
   \
   hello-c++-gnome/INSTALL \
   hello-c++-gnome/autogen.sh \
@@ -264,34 +125,6 @@ EXAMPLESFILES = \
   hello-c++-gnome/m4/gtk--.m4 \
   hello-c++-gnome/po/Makevars \
   hello-c++-gnome/po/POTFILES.in \
-  hello-c++-gnome/po/LINGUAS \
-  hello-c++-gnome/po/af.po \
-  hello-c++-gnome/po/ca.po \
-  hello-c++-gnome/po/de.po \
-  hello-c++-gnome/po/el.po \
-  hello-c++-gnome/po/eo.po \
-  hello-c++-gnome/po/es.po \
-  hello-c++-gnome/po/fr.po \
-  hello-c++-gnome/po/ga.po \
-  hello-c++-gnome/po/hu.po \
-  hello-c++-gnome/po/id.po \
-  hello-c++-gnome/po/it.po \
-  hello-c++-gnome/po/ja.po \
-  hello-c++-gnome/po/nl.po \
-  hello-c++-gnome/po/pl.po \
-  hello-c++-gnome/po/pt.po \
-  hello-c++-gnome/po/ro.po \
-  hello-c++-gnome/po/ru.po \
-  hello-c++-gnome/po/sk.po \
-  hello-c++-gnome/po/sl.po \
-  hello-c++-gnome/po/sr.po \
-  hello-c++-gnome/po/sv.po \
-  hello-c++-gnome/po/tr.po \
-  hello-c++-gnome/po/uk.po \
-  hello-c++-gnome/po/vi.po \
-  hello-c++-gnome/po/zh_CN.po \
-  hello-c++-gnome/po/zh_HK.po \
-  hello-c++-gnome/po/zh_TW.po \
   \
   hello-c++-wxwidgets/INSTALL \
   hello-c++-wxwidgets/autogen.sh \
@@ -302,34 +135,6 @@ EXAMPLESFILES = \
   hello-c++-wxwidgets/m4/Makefile.am \
   hello-c++-wxwidgets/m4/wxwidgets.m4 \
   hello-c++-wxwidgets/po/Makefile.am \
-  hello-c++-wxwidgets/po/LINGUAS \
-  hello-c++-wxwidgets/po/af.po \
-  hello-c++-wxwidgets/po/ca.po \
-  hello-c++-wxwidgets/po/de.po \
-  hello-c++-wxwidgets/po/el.po \
-  hello-c++-wxwidgets/po/eo.po \
-  hello-c++-wxwidgets/po/es.po \
-  hello-c++-wxwidgets/po/fr.po \
-  hello-c++-wxwidgets/po/ga.po \
-  hello-c++-wxwidgets/po/hu.po \
-  hello-c++-wxwidgets/po/id.po \
-  hello-c++-wxwidgets/po/it.po \
-  hello-c++-wxwidgets/po/ja.po \
-  hello-c++-wxwidgets/po/nl.po \
-  hello-c++-wxwidgets/po/pl.po \
-  hello-c++-wxwidgets/po/pt.po \
-  hello-c++-wxwidgets/po/ro.po \
-  hello-c++-wxwidgets/po/ru.po \
-  hello-c++-wxwidgets/po/sk.po \
-  hello-c++-wxwidgets/po/sl.po \
-  hello-c++-wxwidgets/po/sr.po \
-  hello-c++-wxwidgets/po/sv.po \
-  hello-c++-wxwidgets/po/tr.po \
-  hello-c++-wxwidgets/po/uk.po \
-  hello-c++-wxwidgets/po/vi.po \
-  hello-c++-wxwidgets/po/zh_CN.po \
-  hello-c++-wxwidgets/po/zh_HK.po \
-  hello-c++-wxwidgets/po/zh_TW.po \
   \
   hello-objc/INSTALL \
   hello-objc/autogen.sh \
@@ -340,34 +145,6 @@ EXAMPLESFILES = \
   hello-objc/m4/Makefile.am \
   hello-objc/po/Makevars \
   hello-objc/po/POTFILES.in \
-  hello-objc/po/LINGUAS \
-  hello-objc/po/af.po \
-  hello-objc/po/ca.po \
-  hello-objc/po/de.po \
-  hello-objc/po/el.po \
-  hello-objc/po/eo.po \
-  hello-objc/po/es.po \
-  hello-objc/po/fr.po \
-  hello-objc/po/ga.po \
-  hello-objc/po/hu.po \
-  hello-objc/po/id.po \
-  hello-objc/po/it.po \
-  hello-objc/po/ja.po \
-  hello-objc/po/nl.po \
-  hello-objc/po/pl.po \
-  hello-objc/po/pt.po \
-  hello-objc/po/ro.po \
-  hello-objc/po/ru.po \
-  hello-objc/po/sk.po \
-  hello-objc/po/sl.po \
-  hello-objc/po/sr.po \
-  hello-objc/po/sv.po \
-  hello-objc/po/tr.po \
-  hello-objc/po/uk.po \
-  hello-objc/po/vi.po \
-  hello-objc/po/zh_CN.po \
-  hello-objc/po/zh_HK.po \
-  hello-objc/po/zh_TW.po \
   \
   hello-objc-gnustep/INSTALL \
   hello-objc-gnustep/BUGS \
@@ -381,34 +158,6 @@ EXAMPLESFILES = \
   hello-objc-gnustep/GNUmakefile \
   hello-objc-gnustep/po/GNUmakefile \
   hello-objc-gnustep/po/LocaleAliases \
-  hello-objc-gnustep/po/LINGUAS \
-  hello-objc-gnustep/po/af.po \
-  hello-objc-gnustep/po/ca.po \
-  hello-objc-gnustep/po/de.po \
-  hello-objc-gnustep/po/el.po \
-  hello-objc-gnustep/po/eo.po \
-  hello-objc-gnustep/po/es.po \
-  hello-objc-gnustep/po/fr.po \
-  hello-objc-gnustep/po/ga.po \
-  hello-objc-gnustep/po/hu.po \
-  hello-objc-gnustep/po/id.po \
-  hello-objc-gnustep/po/it.po \
-  hello-objc-gnustep/po/ja.po \
-  hello-objc-gnustep/po/nl.po \
-  hello-objc-gnustep/po/pl.po \
-  hello-objc-gnustep/po/pt.po \
-  hello-objc-gnustep/po/ro.po \
-  hello-objc-gnustep/po/ru.po \
-  hello-objc-gnustep/po/sk.po \
-  hello-objc-gnustep/po/sl.po \
-  hello-objc-gnustep/po/sr.po \
-  hello-objc-gnustep/po/sv.po \
-  hello-objc-gnustep/po/tr.po \
-  hello-objc-gnustep/po/uk.po \
-  hello-objc-gnustep/po/vi.po \
-  hello-objc-gnustep/po/zh_CN.po \
-  hello-objc-gnustep/po/zh_HK.po \
-  hello-objc-gnustep/po/zh_TW.po \
   \
   hello-objc-gnome/INSTALL \
   hello-objc-gnome/autogen.sh \
@@ -422,34 +171,6 @@ EXAMPLESFILES = \
   hello-objc-gnome/m4/gnome-orbit-check.m4 \
   hello-objc-gnome/po/Makevars \
   hello-objc-gnome/po/POTFILES.in \
-  hello-objc-gnome/po/LINGUAS \
-  hello-objc-gnome/po/af.po \
-  hello-objc-gnome/po/ca.po \
-  hello-objc-gnome/po/de.po \
-  hello-objc-gnome/po/el.po \
-  hello-objc-gnome/po/eo.po \
-  hello-objc-gnome/po/es.po \
-  hello-objc-gnome/po/fr.po \
-  hello-objc-gnome/po/ga.po \
-  hello-objc-gnome/po/hu.po \
-  hello-objc-gnome/po/id.po \
-  hello-objc-gnome/po/it.po \
-  hello-objc-gnome/po/ja.po \
-  hello-objc-gnome/po/nl.po \
-  hello-objc-gnome/po/pl.po \
-  hello-objc-gnome/po/pt.po \
-  hello-objc-gnome/po/ro.po \
-  hello-objc-gnome/po/ru.po \
-  hello-objc-gnome/po/sk.po \
-  hello-objc-gnome/po/sl.po \
-  hello-objc-gnome/po/sr.po \
-  hello-objc-gnome/po/sv.po \
-  hello-objc-gnome/po/tr.po \
-  hello-objc-gnome/po/uk.po \
-  hello-objc-gnome/po/vi.po \
-  hello-objc-gnome/po/zh_CN.po \
-  hello-objc-gnome/po/zh_HK.po \
-  hello-objc-gnome/po/zh_TW.po \
   \
   hello-sh/INSTALL \
   hello-sh/autogen.sh \
@@ -459,34 +180,6 @@ EXAMPLESFILES = \
   hello-sh/configure.ac \
   hello-sh/m4/Makefile.am \
   hello-sh/po/Makefile.am \
-  hello-sh/po/LINGUAS \
-  hello-sh/po/af.po \
-  hello-sh/po/ca.po \
-  hello-sh/po/de.po \
-  hello-sh/po/el.po \
-  hello-sh/po/eo.po \
-  hello-sh/po/es.po \
-  hello-sh/po/fr.po \
-  hello-sh/po/ga.po \
-  hello-sh/po/hu.po \
-  hello-sh/po/id.po \
-  hello-sh/po/it.po \
-  hello-sh/po/ja.po \
-  hello-sh/po/nl.po \
-  hello-sh/po/pl.po \
-  hello-sh/po/pt.po \
-  hello-sh/po/ro.po \
-  hello-sh/po/ru.po \
-  hello-sh/po/sk.po \
-  hello-sh/po/sl.po \
-  hello-sh/po/sr.po \
-  hello-sh/po/sv.po \
-  hello-sh/po/tr.po \
-  hello-sh/po/uk.po \
-  hello-sh/po/vi.po \
-  hello-sh/po/zh_CN.po \
-  hello-sh/po/zh_HK.po \
-  hello-sh/po/zh_TW.po \
   \
   hello-python/INSTALL \
   hello-python/autogen.sh \
@@ -496,34 +189,6 @@ EXAMPLESFILES = \
   hello-python/configure.ac \
   hello-python/m4/Makefile.am \
   hello-python/po/Makefile.am \
-  hello-python/po/LINGUAS \
-  hello-python/po/af.po \
-  hello-python/po/ca.po \
-  hello-python/po/de.po \
-  hello-python/po/el.po \
-  hello-python/po/eo.po \
-  hello-python/po/es.po \
-  hello-python/po/fr.po \
-  hello-python/po/ga.po \
-  hello-python/po/hu.po \
-  hello-python/po/id.po \
-  hello-python/po/it.po \
-  hello-python/po/ja.po \
-  hello-python/po/nl.po \
-  hello-python/po/pl.po \
-  hello-python/po/pt.po \
-  hello-python/po/ro.po \
-  hello-python/po/ru.po \
-  hello-python/po/sk.po \
-  hello-python/po/sl.po \
-  hello-python/po/sr.po \
-  hello-python/po/sv.po \
-  hello-python/po/tr.po \
-  hello-python/po/uk.po \
-  hello-python/po/vi.po \
-  hello-python/po/zh_CN.po \
-  hello-python/po/zh_HK.po \
-  hello-python/po/zh_TW.po \
   \
   hello-clisp/INSTALL \
   hello-clisp/autogen.sh \
@@ -533,34 +198,6 @@ EXAMPLESFILES = \
   hello-clisp/configure.ac \
   hello-clisp/m4/Makefile.am \
   hello-clisp/po/Makefile.am \
-  hello-clisp/po/LINGUAS \
-  hello-clisp/po/af.po \
-  hello-clisp/po/ca.po \
-  hello-clisp/po/de.po \
-  hello-clisp/po/el.po \
-  hello-clisp/po/eo.po \
-  hello-clisp/po/es.po \
-  hello-clisp/po/fr.po \
-  hello-clisp/po/ga.po \
-  hello-clisp/po/hu.po \
-  hello-clisp/po/id.po \
-  hello-clisp/po/it.po \
-  hello-clisp/po/ja.po \
-  hello-clisp/po/nl.po \
-  hello-clisp/po/pl.po \
-  hello-clisp/po/pt.po \
-  hello-clisp/po/ro.po \
-  hello-clisp/po/ru.po \
-  hello-clisp/po/sk.po \
-  hello-clisp/po/sl.po \
-  hello-clisp/po/sr.po \
-  hello-clisp/po/sv.po \
-  hello-clisp/po/tr.po \
-  hello-clisp/po/uk.po \
-  hello-clisp/po/vi.po \
-  hello-clisp/po/zh_CN.po \
-  hello-clisp/po/zh_HK.po \
-  hello-clisp/po/zh_TW.po \
   \
   hello-librep/INSTALL \
   hello-librep/autogen.sh \
@@ -570,34 +207,6 @@ EXAMPLESFILES = \
   hello-librep/configure.ac \
   hello-librep/m4/Makefile.am \
   hello-librep/po/Makefile.am \
-  hello-librep/po/LINGUAS \
-  hello-librep/po/af.po \
-  hello-librep/po/ca.po \
-  hello-librep/po/de.po \
-  hello-librep/po/el.po \
-  hello-librep/po/eo.po \
-  hello-librep/po/es.po \
-  hello-librep/po/fr.po \
-  hello-librep/po/ga.po \
-  hello-librep/po/hu.po \
-  hello-librep/po/id.po \
-  hello-librep/po/it.po \
-  hello-librep/po/ja.po \
-  hello-librep/po/nl.po \
-  hello-librep/po/pl.po \
-  hello-librep/po/pt.po \
-  hello-librep/po/ro.po \
-  hello-librep/po/ru.po \
-  hello-librep/po/sk.po \
-  hello-librep/po/sl.po \
-  hello-librep/po/sr.po \
-  hello-librep/po/sv.po \
-  hello-librep/po/tr.po \
-  hello-librep/po/uk.po \
-  hello-librep/po/vi.po \
-  hello-librep/po/zh_CN.po \
-  hello-librep/po/zh_HK.po \
-  hello-librep/po/zh_TW.po \
   \
   hello-guile/INSTALL \
   hello-guile/autogen.sh \
@@ -607,34 +216,6 @@ EXAMPLESFILES = \
   hello-guile/configure.ac \
   hello-guile/m4/Makefile.am \
   hello-guile/po/Makefile.am \
-  hello-guile/po/LINGUAS \
-  hello-guile/po/af.po \
-  hello-guile/po/ca.po \
-  hello-guile/po/de.po \
-  hello-guile/po/el.po \
-  hello-guile/po/eo.po \
-  hello-guile/po/es.po \
-  hello-guile/po/fr.po \
-  hello-guile/po/ga.po \
-  hello-guile/po/hu.po \
-  hello-guile/po/id.po \
-  hello-guile/po/it.po \
-  hello-guile/po/ja.po \
-  hello-guile/po/nl.po \
-  hello-guile/po/pl.po \
-  hello-guile/po/pt.po \
-  hello-guile/po/ro.po \
-  hello-guile/po/ru.po \
-  hello-guile/po/sk.po \
-  hello-guile/po/sl.po \
-  hello-guile/po/sr.po \
-  hello-guile/po/sv.po \
-  hello-guile/po/tr.po \
-  hello-guile/po/uk.po \
-  hello-guile/po/vi.po \
-  hello-guile/po/zh_CN.po \
-  hello-guile/po/zh_HK.po \
-  hello-guile/po/zh_TW.po \
   \
   hello-smalltalk/INSTALL \
   hello-smalltalk/autogen.sh \
@@ -644,34 +225,6 @@ EXAMPLESFILES = \
   hello-smalltalk/configure.ac \
   hello-smalltalk/m4/Makefile.am \
   hello-smalltalk/po/Makefile.am \
-  hello-smalltalk/po/LINGUAS \
-  hello-smalltalk/po/af.po \
-  hello-smalltalk/po/ca.po \
-  hello-smalltalk/po/de.po \
-  hello-smalltalk/po/el.po \
-  hello-smalltalk/po/eo.po \
-  hello-smalltalk/po/es.po \
-  hello-smalltalk/po/fr.po \
-  hello-smalltalk/po/ga.po \
-  hello-smalltalk/po/hu.po \
-  hello-smalltalk/po/id.po \
-  hello-smalltalk/po/it.po \
-  hello-smalltalk/po/ja.po \
-  hello-smalltalk/po/nl.po \
-  hello-smalltalk/po/pl.po \
-  hello-smalltalk/po/pt.po \
-  hello-smalltalk/po/ro.po \
-  hello-smalltalk/po/ru.po \
-  hello-smalltalk/po/sk.po \
-  hello-smalltalk/po/sl.po \
-  hello-smalltalk/po/sr.po \
-  hello-smalltalk/po/sv.po \
-  hello-smalltalk/po/tr.po \
-  hello-smalltalk/po/uk.po \
-  hello-smalltalk/po/vi.po \
-  hello-smalltalk/po/zh_CN.po \
-  hello-smalltalk/po/zh_HK.po \
-  hello-smalltalk/po/zh_TW.po \
   \
   hello-java/INSTALL \
   hello-java/autogen.sh \
@@ -681,34 +234,6 @@ EXAMPLESFILES = \
   hello-java/configure.ac \
   hello-java/m4/Makefile.am \
   hello-java/po/Makefile.am \
-  hello-java/po/LINGUAS \
-  hello-java/po/af.po \
-  hello-java/po/ca.po \
-  hello-java/po/de.po \
-  hello-java/po/el.po \
-  hello-java/po/eo.po \
-  hello-java/po/es.po \
-  hello-java/po/fr.po \
-  hello-java/po/ga.po \
-  hello-java/po/hu.po \
-  hello-java/po/id.po \
-  hello-java/po/it.po \
-  hello-java/po/ja.po \
-  hello-java/po/nl.po \
-  hello-java/po/pl.po \
-  hello-java/po/pt.po \
-  hello-java/po/ro.po \
-  hello-java/po/ru.po \
-  hello-java/po/sk.po \
-  hello-java/po/sl.po \
-  hello-java/po/sr.po \
-  hello-java/po/sv.po \
-  hello-java/po/tr.po \
-  hello-java/po/uk.po \
-  hello-java/po/vi.po \
-  hello-java/po/zh_CN.po \
-  hello-java/po/zh_HK.po \
-  hello-java/po/zh_TW.po \
   \
   hello-java-awt/INSTALL \
   hello-java-awt/BUGS \
@@ -721,34 +246,6 @@ EXAMPLESFILES = \
   hello-java-awt/m4/TestAWT.java \
   hello-java-awt/m4/TestAWT.class \
   hello-java-awt/po/Makefile.am \
-  hello-java-awt/po/LINGUAS \
-  hello-java-awt/po/af.po \
-  hello-java-awt/po/ca.po \
-  hello-java-awt/po/de.po \
-  hello-java-awt/po/el.po \
-  hello-java-awt/po/eo.po \
-  hello-java-awt/po/es.po \
-  hello-java-awt/po/fr.po \
-  hello-java-awt/po/ga.po \
-  hello-java-awt/po/hu.po \
-  hello-java-awt/po/id.po \
-  hello-java-awt/po/it.po \
-  hello-java-awt/po/ja.po \
-  hello-java-awt/po/nl.po \
-  hello-java-awt/po/pl.po \
-  hello-java-awt/po/pt.po \
-  hello-java-awt/po/ro.po \
-  hello-java-awt/po/ru.po \
-  hello-java-awt/po/sk.po \
-  hello-java-awt/po/sl.po \
-  hello-java-awt/po/sr.po \
-  hello-java-awt/po/sv.po \
-  hello-java-awt/po/tr.po \
-  hello-java-awt/po/uk.po \
-  hello-java-awt/po/vi.po \
-  hello-java-awt/po/zh_CN.po \
-  hello-java-awt/po/zh_HK.po \
-  hello-java-awt/po/zh_TW.po \
   \
   hello-java-swing/INSTALL \
   hello-java-swing/BUGS \
@@ -761,34 +258,6 @@ EXAMPLESFILES = \
   hello-java-swing/m4/TestAWT.java \
   hello-java-swing/m4/TestAWT.class \
   hello-java-swing/po/Makefile.am \
-  hello-java-swing/po/LINGUAS \
-  hello-java-swing/po/af.po \
-  hello-java-swing/po/ca.po \
-  hello-java-swing/po/de.po \
-  hello-java-swing/po/el.po \
-  hello-java-swing/po/eo.po \
-  hello-java-swing/po/es.po \
-  hello-java-swing/po/fr.po \
-  hello-java-swing/po/ga.po \
-  hello-java-swing/po/hu.po \
-  hello-java-swing/po/id.po \
-  hello-java-swing/po/it.po \
-  hello-java-swing/po/ja.po \
-  hello-java-swing/po/nl.po \
-  hello-java-swing/po/pl.po \
-  hello-java-swing/po/pt.po \
-  hello-java-swing/po/ro.po \
-  hello-java-swing/po/ru.po \
-  hello-java-swing/po/sk.po \
-  hello-java-swing/po/sl.po \
-  hello-java-swing/po/sr.po \
-  hello-java-swing/po/sv.po \
-  hello-java-swing/po/tr.po \
-  hello-java-swing/po/uk.po \
-  hello-java-swing/po/vi.po \
-  hello-java-swing/po/zh_CN.po \
-  hello-java-swing/po/zh_HK.po \
-  hello-java-swing/po/zh_TW.po \
   \
   hello-csharp/INSTALL \
   hello-csharp/autogen.sh \
@@ -798,34 +267,6 @@ EXAMPLESFILES = \
   hello-csharp/configure.ac \
   hello-csharp/m4/Makefile.am \
   hello-csharp/po/Makefile.am \
-  hello-csharp/po/LINGUAS \
-  hello-csharp/po/af.po \
-  hello-csharp/po/ca.po \
-  hello-csharp/po/de.po \
-  hello-csharp/po/el.po \
-  hello-csharp/po/eo.po \
-  hello-csharp/po/es.po \
-  hello-csharp/po/fr.po \
-  hello-csharp/po/ga.po \
-  hello-csharp/po/hu.po \
-  hello-csharp/po/id.po \
-  hello-csharp/po/it.po \
-  hello-csharp/po/ja.po \
-  hello-csharp/po/nl.po \
-  hello-csharp/po/pl.po \
-  hello-csharp/po/pt.po \
-  hello-csharp/po/ro.po \
-  hello-csharp/po/ru.po \
-  hello-csharp/po/sk.po \
-  hello-csharp/po/sl.po \
-  hello-csharp/po/sr.po \
-  hello-csharp/po/sv.po \
-  hello-csharp/po/tr.po \
-  hello-csharp/po/uk.po \
-  hello-csharp/po/vi.po \
-  hello-csharp/po/zh_CN.po \
-  hello-csharp/po/zh_HK.po \
-  hello-csharp/po/zh_TW.po \
   \
   hello-csharp-forms/INSTALL \
   hello-csharp-forms/README \
@@ -837,34 +278,6 @@ EXAMPLESFILES = \
   hello-csharp-forms/configure.ac \
   hello-csharp-forms/m4/Makefile.am \
   hello-csharp-forms/po/Makefile.am \
-  hello-csharp-forms/po/LINGUAS \
-  hello-csharp-forms/po/af.po \
-  hello-csharp-forms/po/ca.po \
-  hello-csharp-forms/po/de.po \
-  hello-csharp-forms/po/el.po \
-  hello-csharp-forms/po/eo.po \
-  hello-csharp-forms/po/es.po \
-  hello-csharp-forms/po/fr.po \
-  hello-csharp-forms/po/ga.po \
-  hello-csharp-forms/po/hu.po \
-  hello-csharp-forms/po/id.po \
-  hello-csharp-forms/po/it.po \
-  hello-csharp-forms/po/ja.po \
-  hello-csharp-forms/po/nl.po \
-  hello-csharp-forms/po/pl.po \
-  hello-csharp-forms/po/pt.po \
-  hello-csharp-forms/po/ro.po \
-  hello-csharp-forms/po/ru.po \
-  hello-csharp-forms/po/sk.po \
-  hello-csharp-forms/po/sl.po \
-  hello-csharp-forms/po/sr.po \
-  hello-csharp-forms/po/sv.po \
-  hello-csharp-forms/po/tr.po \
-  hello-csharp-forms/po/uk.po \
-  hello-csharp-forms/po/vi.po \
-  hello-csharp-forms/po/zh_CN.po \
-  hello-csharp-forms/po/zh_HK.po \
-  hello-csharp-forms/po/zh_TW.po \
   \
   hello-gawk/INSTALL \
   hello-gawk/autogen.sh \
@@ -874,34 +287,6 @@ EXAMPLESFILES = \
   hello-gawk/configure.ac \
   hello-gawk/m4/Makefile.am \
   hello-gawk/po/Makefile.am \
-  hello-gawk/po/LINGUAS \
-  hello-gawk/po/af.po \
-  hello-gawk/po/ca.po \
-  hello-gawk/po/de.po \
-  hello-gawk/po/el.po \
-  hello-gawk/po/eo.po \
-  hello-gawk/po/es.po \
-  hello-gawk/po/fr.po \
-  hello-gawk/po/ga.po \
-  hello-gawk/po/hu.po \
-  hello-gawk/po/id.po \
-  hello-gawk/po/it.po \
-  hello-gawk/po/ja.po \
-  hello-gawk/po/nl.po \
-  hello-gawk/po/pl.po \
-  hello-gawk/po/pt.po \
-  hello-gawk/po/ro.po \
-  hello-gawk/po/ru.po \
-  hello-gawk/po/sk.po \
-  hello-gawk/po/sl.po \
-  hello-gawk/po/sr.po \
-  hello-gawk/po/sv.po \
-  hello-gawk/po/tr.po \
-  hello-gawk/po/uk.po \
-  hello-gawk/po/vi.po \
-  hello-gawk/po/zh_CN.po \
-  hello-gawk/po/zh_HK.po \
-  hello-gawk/po/zh_TW.po \
   \
   hello-pascal/INSTALL \
   hello-pascal/autogen.sh \
@@ -912,34 +297,6 @@ EXAMPLESFILES = \
   hello-pascal/configure.ac \
   hello-pascal/m4/Makefile.am \
   hello-pascal/po/Makefile.am \
-  hello-pascal/po/LINGUAS \
-  hello-pascal/po/af.po \
-  hello-pascal/po/ca.po \
-  hello-pascal/po/de.po \
-  hello-pascal/po/el.po \
-  hello-pascal/po/eo.po \
-  hello-pascal/po/es.po \
-  hello-pascal/po/fr.po \
-  hello-pascal/po/ga.po \
-  hello-pascal/po/hu.po \
-  hello-pascal/po/id.po \
-  hello-pascal/po/it.po \
-  hello-pascal/po/ja.po \
-  hello-pascal/po/nl.po \
-  hello-pascal/po/pl.po \
-  hello-pascal/po/pt.po \
-  hello-pascal/po/ro.po \
-  hello-pascal/po/ru.po \
-  hello-pascal/po/sk.po \
-  hello-pascal/po/sl.po \
-  hello-pascal/po/sr.po \
-  hello-pascal/po/sv.po \
-  hello-pascal/po/tr.po \
-  hello-pascal/po/uk.po \
-  hello-pascal/po/vi.po \
-  hello-pascal/po/zh_CN.po \
-  hello-pascal/po/zh_HK.po \
-  hello-pascal/po/zh_TW.po \
   \
   hello-ycp/INSTALL \
   hello-ycp/autogen.sh \
@@ -949,34 +306,6 @@ EXAMPLESFILES = \
   hello-ycp/configure.ac \
   hello-ycp/m4/Makefile.am \
   hello-ycp/po/Makefile.am \
-  hello-ycp/po/LINGUAS \
-  hello-ycp/po/af.po \
-  hello-ycp/po/ca.po \
-  hello-ycp/po/de.po \
-  hello-ycp/po/el.po \
-  hello-ycp/po/eo.po \
-  hello-ycp/po/es.po \
-  hello-ycp/po/fr.po \
-  hello-ycp/po/ga.po \
-  hello-ycp/po/hu.po \
-  hello-ycp/po/id.po \
-  hello-ycp/po/it.po \
-  hello-ycp/po/ja.po \
-  hello-ycp/po/nl.po \
-  hello-ycp/po/pl.po \
-  hello-ycp/po/pt.po \
-  hello-ycp/po/ro.po \
-  hello-ycp/po/ru.po \
-  hello-ycp/po/sk.po \
-  hello-ycp/po/sl.po \
-  hello-ycp/po/sr.po \
-  hello-ycp/po/sv.po \
-  hello-ycp/po/tr.po \
-  hello-ycp/po/uk.po \
-  hello-ycp/po/vi.po \
-  hello-ycp/po/zh_CN.po \
-  hello-ycp/po/zh_HK.po \
-  hello-ycp/po/zh_TW.po \
   \
   hello-tcl/INSTALL \
   hello-tcl/autogen.sh \
@@ -986,34 +315,6 @@ EXAMPLESFILES = \
   hello-tcl/configure.ac \
   hello-tcl/m4/Makefile.am \
   hello-tcl/po/Makefile.am \
-  hello-tcl/po/LINGUAS \
-  hello-tcl/po/af.po \
-  hello-tcl/po/ca.po \
-  hello-tcl/po/de.po \
-  hello-tcl/po/el.po \
-  hello-tcl/po/eo.po \
-  hello-tcl/po/es.po \
-  hello-tcl/po/fr.po \
-  hello-tcl/po/ga.po \
-  hello-tcl/po/hu.po \
-  hello-tcl/po/id.po \
-  hello-tcl/po/it.po \
-  hello-tcl/po/ja.po \
-  hello-tcl/po/nl.po \
-  hello-tcl/po/pl.po \
-  hello-tcl/po/pt.po \
-  hello-tcl/po/ro.po \
-  hello-tcl/po/ru.po \
-  hello-tcl/po/sk.po \
-  hello-tcl/po/sl.po \
-  hello-tcl/po/sr.po \
-  hello-tcl/po/sv.po \
-  hello-tcl/po/tr.po \
-  hello-tcl/po/uk.po \
-  hello-tcl/po/vi.po \
-  hello-tcl/po/zh_CN.po \
-  hello-tcl/po/zh_HK.po \
-  hello-tcl/po/zh_TW.po \
   \
   hello-tcl-tk/INSTALL \
   hello-tcl-tk/autogen.sh \
@@ -1023,34 +324,6 @@ EXAMPLESFILES = \
   hello-tcl-tk/configure.ac \
   hello-tcl-tk/m4/Makefile.am \
   hello-tcl-tk/po/Makefile.am \
-  hello-tcl-tk/po/LINGUAS \
-  hello-tcl-tk/po/af.po \
-  hello-tcl-tk/po/ca.po \
-  hello-tcl-tk/po/de.po \
-  hello-tcl-tk/po/el.po \
-  hello-tcl-tk/po/eo.po \
-  hello-tcl-tk/po/es.po \
-  hello-tcl-tk/po/fr.po \
-  hello-tcl-tk/po/ga.po \
-  hello-tcl-tk/po/hu.po \
-  hello-tcl-tk/po/id.po \
-  hello-tcl-tk/po/it.po \
-  hello-tcl-tk/po/ja.po \
-  hello-tcl-tk/po/nl.po \
-  hello-tcl-tk/po/pl.po \
-  hello-tcl-tk/po/pt.po \
-  hello-tcl-tk/po/ro.po \
-  hello-tcl-tk/po/ru.po \
-  hello-tcl-tk/po/sk.po \
-  hello-tcl-tk/po/sl.po \
-  hello-tcl-tk/po/sr.po \
-  hello-tcl-tk/po/sv.po \
-  hello-tcl-tk/po/tr.po \
-  hello-tcl-tk/po/uk.po \
-  hello-tcl-tk/po/vi.po \
-  hello-tcl-tk/po/zh_CN.po \
-  hello-tcl-tk/po/zh_HK.po \
-  hello-tcl-tk/po/zh_TW.po \
   \
   hello-perl/INSTALL \
   hello-perl/autogen.sh \
@@ -1061,34 +334,6 @@ EXAMPLESFILES = \
   hello-perl/configure.ac \
   hello-perl/m4/Makefile.am \
   hello-perl/po/Makefile.am \
-  hello-perl/po/LINGUAS \
-  hello-perl/po/af.po \
-  hello-perl/po/ca.po \
-  hello-perl/po/de.po \
-  hello-perl/po/el.po \
-  hello-perl/po/eo.po \
-  hello-perl/po/es.po \
-  hello-perl/po/fr.po \
-  hello-perl/po/ga.po \
-  hello-perl/po/hu.po \
-  hello-perl/po/id.po \
-  hello-perl/po/it.po \
-  hello-perl/po/ja.po \
-  hello-perl/po/nl.po \
-  hello-perl/po/pl.po \
-  hello-perl/po/pt.po \
-  hello-perl/po/ro.po \
-  hello-perl/po/ru.po \
-  hello-perl/po/sk.po \
-  hello-perl/po/sl.po \
-  hello-perl/po/sr.po \
-  hello-perl/po/sv.po \
-  hello-perl/po/tr.po \
-  hello-perl/po/uk.po \
-  hello-perl/po/vi.po \
-  hello-perl/po/zh_CN.po \
-  hello-perl/po/zh_HK.po \
-  hello-perl/po/zh_TW.po \
   \
   hello-php/INSTALL \
   hello-php/README \
@@ -1099,37 +344,71 @@ EXAMPLESFILES = \
   hello-php/configure.ac \
   hello-php/m4/Makefile.am \
   hello-php/po/Makefile.am \
-  hello-php/po/LINGUAS \
-  hello-php/po/af.po \
-  hello-php/po/ca.po \
-  hello-php/po/de.po \
-  hello-php/po/el.po \
-  hello-php/po/eo.po \
-  hello-php/po/es.po \
-  hello-php/po/fr.po \
-  hello-php/po/ga.po \
-  hello-php/po/hu.po \
-  hello-php/po/id.po \
-  hello-php/po/it.po \
-  hello-php/po/ja.po \
-  hello-php/po/nl.po \
-  hello-php/po/pl.po \
-  hello-php/po/pt.po \
-  hello-php/po/ro.po \
-  hello-php/po/ru.po \
-  hello-php/po/sk.po \
-  hello-php/po/sl.po \
-  hello-php/po/sr.po \
-  hello-php/po/sv.po \
-  hello-php/po/tr.po \
-  hello-php/po/uk.po \
-  hello-php/po/vi.po \
-  hello-php/po/zh_CN.po \
-  hello-php/po/zh_HK.po \
-  hello-php/po/zh_TW.po \
   \
   README
 
+# List of examples directories containing a po directory.
+EXAMPLESDIRS = \
+  hello-c \
+  hello-c-gnome \
+  hello-c++ \
+  hello-c++-qt \
+  hello-c++-kde \
+  hello-c++-gnome \
+  hello-c++-wxwidgets \
+  hello-objc \
+  hello-objc-gnustep \
+  hello-objc-gnome \
+  hello-sh \
+  hello-python \
+  hello-clisp \
+  hello-librep \
+  hello-guile \
+  hello-smalltalk \
+  hello-java \
+  hello-java-awt \
+  hello-java-swing \
+  hello-csharp \
+  hello-csharp-forms \
+  hello-gawk \
+  hello-pascal \
+  hello-ycp \
+  hello-tcl \
+  hello-tcl-tk \
+  hello-perl \
+  hello-php
+
+# List of files present in every example's po directory.
+EXAMPLESPOFILES = \
+  LINGUAS \
+  af.po \
+  ca.po \
+  de.po \
+  el.po \
+  eo.po \
+  es.po \
+  fr.po \
+  ga.po \
+  hu.po \
+  id.po \
+  it.po \
+  ja.po \
+  nl.po \
+  pl.po \
+  pt.po \
+  ro.po \
+  ru.po \
+  sk.po \
+  sl.po \
+  sr.po \
+  sv.po \
+  tr.po \
+  uk.po \
+  vi.po \
+  zh_CN.po \
+  zh_HK.po \
+  zh_TW.po
+
 install-data-local: $(EXAMPLESFILES)
        $(mkdir_p) $(DESTDIR)$(examplesdir)
        for f in $(EXAMPLESFILES); do \
@@ -1144,6 +423,16 @@ install-data-local: $(EXAMPLESFILES)
            $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(examplesdir)/$$f; \
          fi; \
        done
+       for f1 in $(EXAMPLESDIRS); do \
+         for f2 in $(EXAMPLESPOFILES); do \
+           f=$$f1/po/$$f2; \
+           d=`echo /$$f | sed -e 's,/[^/]*$$,,'`; \
+           test -z "$$d" || $(mkdir_p) $(DESTDIR)$(examplesdir)$$d || exit 1; \
+           b=`echo $$f | sed -e 's,^.*/,,'`; \
+           echo "$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(examplesdir)/$$f"; \
+           $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)$(examplesdir)/$$f; \
+         done; \
+       done
 
 installdirs-local:
        $(mkdir_p) $(DESTDIR)$(examplesdir)
@@ -1151,11 +440,24 @@ installdirs-local:
          d=`echo /$$f | sed -e 's,/[^/]*$$,,'`; \
          test -z "$$d" || $(mkdir_p) $(DESTDIR)$(examplesdir)$$d || exit 1; \
        done
+       for f1 in $(EXAMPLESDIRS); do \
+         for f2 in $(EXAMPLESPOFILES); do \
+           f=$$f1/po/$$f2; \
+           d=`echo /$$f | sed -e 's,/[^/]*$$,,'`; \
+           test -z "$$d" || $(mkdir_p) $(DESTDIR)$(examplesdir)$$d || exit 1; \
+         done; \
+       done
 
 uninstall-local:
        for f in $(EXAMPLESFILES); do \
          rm -f $(DESTDIR)$(examplesdir)/$$f; \
        done
+       for f1 in $(EXAMPLESDIRS); do \
+         for f2 in $(EXAMPLESPOFILES); do \
+           f=$$f1/po/$$f2; \
+           rm -f $(DESTDIR)$(examplesdir)/$$f; \
+         done; \
+       done
 
 # Invoked from inside automake's distdir target.
 distdir1:
@@ -1168,6 +470,17 @@ distdir1:
          fi; \
          cp -p $$d/$$file $(distdir)/$$file || exit 1; \
        done
+       for f1 in $(EXAMPLESDIRS); do \
+         for f2 in $(EXAMPLESPOFILES); do \
+           file=$$f1/po/$$f2; \
+           if test -f $$file; then d=.; else d=$(srcdir); fi; \
+           dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+           if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+             $(mkdir_p) "$(distdir)/$$dir"; \
+           fi; \
+           cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+         done; \
+       done
 
 # Temporary directories created by po/Makefile.
 CLEANFILES = tmp-hello-*