Tag
Hash :
0292a032
Author :
Date :
2002-05-06T19:10:42
Erase stamps from the Makefile that generates them. * automake.in (handle_configure): Append each used stamp to @distclean_config. Don't warn about stamp-h in AC_OUTPUT, this file is not used anymore. * lib/am/clean.am (distclean-generic): Don't erase stamp-h and stamp-h[0-9]*. * tests/subdir6.test: New file. * tests/Makefile.am (TESTS): Add it.
#! /bin/sh
# Test to make sure config headers in subdirectories are cleaned.
. $srcdir/defs || exit 1
set -e
cat >> configure.in << 'END'
AM_CONFIG_HEADER([sub/config.h:sub/config.hin])
AC_OUTPUT
END
touch Makefile.am
mkdir sub
$ACLOCAL
$AUTOCONF
touch sub/config.hin
$AUTOMAKE
./configure
test -f sub/stamp-h1
$MAKE clean
test -f sub/stamp-h1
$MAKE distclean
test -f sub/stamp-h1 && exit 1
: