This is equivalent, except we have the option to disable the autom4te
cache. This cache does not give significant speedups but creates the
annoying directory.
distclean: clean2 test-clean
@[ -z "$(Q)" ] || echo 'DISTCLEAN'
$(Q) rm -f Makefile autoscan.log config.status config.log error2.h
- $(Q) rm -rf autom4te.cache
$(Q) rm -f GPATH GRTAGS GSYMS GTAGS
maintainer-clean: distclean
if test -f Makefile; then
make maintainer-clean > /dev/null 2>&1
fi
-autoconf
+autom4te \
+ --language=autoconf \
+ --output=configure \
+ --no-cache \
+ --warnings=all \
+ configure.ac
autoheader
echo configuring...
./configure $@ > /dev/null