Tag
Hash :
23266a96
Author :
Date :
2001-12-05T17:13:41
* automake.in (handle_dist): Distribute common files which do not exist but are target of a Makefile rule. * automake.texi (Dist): Update. * test/builtcommon3.test: New file. * test/Makefile.am (TESTS): Add distcommon3.test.
#! /bin/sh
# Test to make sure that non-existing common files are distributed
# if they are buildable.
. $srcdir/defs || exit 1
cat > Makefile.am << 'END'
README:
echo 'I bet you are reading me.' > README
END
$ACLOCAL || exit 1
$AUTOMAKE || exit 1
sed -n -e '/^DIST_COMMON =.*\\$/ {
:loop
p
n
/\\$/ b loop
p
n
}' -e '/^DIST_COMMON =/ p' Makefile.in | grep README || exit 1