typo + new comment
[automake.git] / tests / vartar.test
blob578dbd046867a53b1b989a55b50c3f32943fad35
1 #! /bin/sh
3 # Targets and macros are two different name spaces.
5 . $srcdir/defs || exit 1
7 cat > Makefile.am << 'END'
8 install = install
9 install:
10 $(install) install
11 END
13 $AUTOMAKE || exit 1
15 grep '^install = install$' Makefile.in || exit 1
17 cat > target.expected <<'EOF'
18 install:
19 $(install) install
20 EOF
21 sed -n '/^install:/,/^ /p' Makefile.in > target.value
22 diff target.expected target.value || exit 1
24 exit 0