+2003-12-02 Bruno Haible <bruno@clisp.org>
+
+ * configure.ac: Invoke FIX_MAKEFILE_DISTRIB for examples/Makefile.
+
2003-11-30 Bruno Haible <bruno@clisp.org>
* gettext-0.13 released.
AC_CONFIG_FILES([tests/Makefile],
[FIX_MAKEFILE_COMPILE])
-AC_CONFIG_FILES([examples/Makefile])
+AC_CONFIG_FILES([examples/Makefile],
+ [FIX_MAKEFILE_DISTRIB])
AC_CONFIG_FILES([examples/installpaths])
AC_CONFIG_FILES([examples/po/Makefile], [AM_POSTPROCESS_PO_MAKEFILE])
+2003-12-02 Bruno Haible <bruno@clisp.org>
+
+ * examples/Makefile.am (EXTRA_DIST): Don't add the EXAMPLESFILES.
+ (distdir1): New rule. Install the EXAMPLESFILES after 'update-po'.
+
2003-11-30 Bruno Haible <bruno@clisp.org>
* gettext-0.13 released.
2003-11-30 Bruno Haible <bruno@clisp.org>
- * mmsmallpo.sh: Remove the POT-Creation-Date line from the generated PO
- file.
+ * po/mmsmallpo.sh: Remove the POT-Creation-Date line from the generated
+ PO file.
* Makefile.am (EXAMPLESFILES): Add hello-pascal/hello.rst.
2003-11-30 Bruno Haible <bruno@clisp.org>
rm -f $(DESTDIR)$(examplesdir)/$$f; \
done
-EXTRA_DIST += $(EXAMPLESFILES)
+# Hidden from automake, but really activated. Works around an automake-1.5 bug.
+#distdir: distdir1
+distdir1:
+ cd po && $(MAKE) update-po
+ for file in $(EXAMPLESFILES); do \
+ if test -f $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ $(mkinstalldirs) "$(distdir)/$$dir"; \
+ fi; \
+ cp -p $$d/$$file $(distdir)/$$file || exit 1; \
+ done
# Temporary directories created by po/Makefile.
CLEANFILES = tmp-hello-*