+2001-05-16 Tom Tromey <tromey@redhat.com>
+
+ * tests/Makefile.am (TESTS): Removed maintclean.test.
+ * lib/am/clean.am (maintainer-clean-generic): Don't remove
+ Makefile.in.
+ * lib/am/configure.am (maintainer-clean-am): Removed.
+ (maintainer-clean-conf): Removed.
+ * tests/maintclean.test: Removed.
+
2001-05-15 Tom Tromey <tromey@redhat.com>
Fix for PR automake/177:
## the dependencies?
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
- -rm -f Makefile.in
?MFILES? -test -z "%MCFILES%" || rm -f %MFILES%
.PHONY: clean mostlyclean distclean maintainer-clean \
distclean:
-rm -f config.status config.cache config.log
-maintainer-clean-am: maintainer-clean-conf
-
-if %?REGEN-ACLOCAL-M4%
-maintainer-clean-conf:
- -rm -f configure aclocal.m4
-else ! %?REGEN-ACLOCAL-M4%
-maintainer-clean-conf:
- -rm -f configure
-endif ! %?REGEN-ACLOCAL-M4%
-
+## Note: you might think we should remove Makefile.in, configure, or
+## aclocal.m4 here in a maintainer-clean rule. However, the GNU
+## Coding Standards explicitly prohibit this.
endif %?TOPDIR_P%
link_f_only.test \
lisp.test \
ltlibobjs.test \
-maintclean.test \
make.test \
makevars.test \
man.test \
link_f_only.test \
lisp.test \
ltlibobjs.test \
-maintclean.test \
make.test \
makevars.test \
man.test \
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
- -rm -f Makefile.in
clean: clean-am
clean-am: clean-generic mostlyclean-am
+++ /dev/null
-#! /bin/sh
-
-# Make sure that `maintainer-clean' removes Makefile.in, configure,
-# and aclocal.m4.
-
-. $srcdir/defs || exit 1
-
-cat > configure.in << 'END'
-AC_INIT(Makefile.am)
-AM_INIT_AUTOMAKE(foo,0,no)
-AM_MAKE_INCLUDE
-AC_OUTPUT(Makefile)
-END
-
-: > Makefile.am
-
-$needs_autoconf
-
-set -e
-
-$ACLOCAL
-$AUTOCONF
-$AUTOMAKE
-
-export ACLOCAL
-export AUTOCONF
-export AUTOMAKE
-
-./configure
-
-$MAKE maintainer-clean
-
-test -f Makefile.in && exit 1
-test -f configure && exit 1
-test -f aclocal.m4 && exit 1
-
-exit 0