+2000-07-28 Bruno Haible <haible@clisp.cons.org>
+
+ * configure.in: Postprocess misc/Makefile to workaround an automake
+ bug.
+
2000-06-16 Bruno Haible <haible@clisp.cons.org>
* Makefile.am: Put back the ACLOCAL_AMFLAGS definition, but define
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
esac
+ sed -e 's/rm -f \$(lispdir)/rm -f \$(DESTDIR)\$(lispdir)/' < misc/Makefile \
+ > misc/Makefile.tmp
+ mv misc/Makefile.tmp misc/Makefile
+
exit 0
EOF
chmod +x $CONFIG_STATUS
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.12)
-AC_REVISION($Revision: 1.1 $)
+AC_REVISION($Revision: 1.2 $)
AC_INIT(src/msgfmt.c)
AM_INIT_AUTOMAKE(gettext, 0.10.36)
AM_CONFIG_HEADER(config.h)
AC_OUTPUT([Makefile lib/Makefile intl/Makefile src/Makefile \
po/Makefile.in doc/Makefile tests/Makefile m4/Makefile \
- misc/Makefile misc/gettextize intl/intlh.inst])
-dnl misc/Makefile misc/gettextize intl/intlh.inst],
-dnl [case "$CONFIG_FILES" in *po/Makefile.in*)
-dnl sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
-dnl esac])
+ misc/Makefile misc/gettextize intl/intlh.inst], [
+ dnl Workaround an automake-1.4 bug which generates an incorrect uninstall
+ dnl target in misc/Makefile.in.
+ sed -e 's/rm -f \$(lispdir)/rm -f \$(DESTDIR)\$(lispdir)/' < misc/Makefile \
+ > misc/Makefile.tmp
+ mv misc/Makefile.tmp misc/Makefile
+])