Tag
Hash :
f2808296
Author :
Date :
2001-01-29T09:41:43
* automake.in (handle_phony): Sort. (file_contents_with_transform): Catch `.PHONY:'. (handle_tests): Instead dumping the hard coded target check-TESTS and registering its .PHONYsm, get them from... * check.am: here, new file.
#! /bin/sh
# Test Automake style tests.
. $srcdir/defs || exit 1
cat > Makefile.am << 'END'
TESTS = frob.test
END
: > frob.test
$AUTOMAKE || exit 1
grep '^check-TESTS:' Makefile.in || exit 1
grep '^check-DEJAGNU' Makefile.in && exit 1
# check-TESTS is phony.
sed -n '/^\.PHONY:/,/^$/p' Makefile.in | grep check-TESTS || exit 1
exit 0