From 76ee648cfe906d3f6ec9fdfd35ae09b0223d6457 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 1 Jul 1999 18:55:29 +0000 Subject: Patch from Ralf Corsepius to enhance autogen's behavior. --- autogen | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'autogen') diff --git a/autogen b/autogen index 0e768388ab..3c3888b1c1 100644 --- a/autogen +++ b/autogen @@ -69,8 +69,10 @@ generate) cd $dir; aclocal -I $aclocal_dir; autoconf; - test -n "`grep CONFIG_HEADER configure.in`" && autoheader ; test -f Makefile.am && automake $verbose ; + test -n "`grep CONFIG_HEADER configure.in`" && autoheader ; + test -f Makefile.am && test -n "`grep 'stamp-h\.in' Makefile.in`" \ + && echo timestamp > stamp-h.in ) done ;; @@ -103,6 +105,9 @@ clean) find . -name '*.rej' -print | xargs rm -f find . -name 'config.status' -print | xargs rm -f find . -name 'config.log' -print | xargs rm -f + find . -name 'config.cache' -print | xargs rm -f find . -name '.deps' -print | xargs rm -rf + find . -name '.libs' -print | xargs rm -rf + find . -name 'stamp-h.in' | xargs rm -rf ;; esac -- cgit v1.2.3