Added Emacs Lisp handling
[automake.git] / tests / target.test
blob7536d13fa10e3600bcaa3b29938310e4a06a6bee
1 #! /bin/sh
3 # Test for a bug where target names and variable names are treated alike.
4 # Bug from François Pinard.
6 . $srcdir/defs || exit 1
8 cat > Makefile.am << 'END'
9 bin_PROGRAMS = consud
10 ## Note next line is target, not variable.
11 consud_SOURCES: consud.c
12 END
14 echo > consud.c
16 $AUTOMAKE && exit 1
17 exit 0