projects
/
platform
/
upstream
/
automake.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: fix cleaning of test directories in contrib (and in t/perf)
[platform/upstream/automake.git]
/
t
/
lex-clean.sh
diff --git
a/t/lex-clean.sh
b/t/lex-clean.sh
index
9b23f01
..
91742bf
100755
(executable)
--- a/
t/lex-clean.sh
+++ b/
t/lex-clean.sh
@@
-19,8
+19,8
@@
# distributed .l sources are cleaned by "make maintainer-clean".
# See also sister test 'lex-clean-cxx.test'.
# distributed .l sources are cleaned by "make maintainer-clean".
# See also sister test 'lex-clean-cxx.test'.
-required=
yacc
-. ./defs ||
E
xit 1
+required=
'cc lex'
+. ./defs ||
e
xit 1
cat >> configure.ac << 'END'
AC_PROG_CC
cat >> configure.ac << 'END'
AC_PROG_CC
@@
-97,9
+97,9
@@
for target in clean distclean; do
test -f lexer.l
test -f lexer.c
test -f bar-lexer.c
test -f lexer.l
test -f lexer.c
test -f bar-lexer.c
- test ! -
r
baz.l
- test ! -
r
baz.c
- test ! -
r
qux-baz.c
+ test ! -
e
baz.l
+ test ! -
e
baz.c
+ test ! -
e
qux-baz.c
done
cp config.sav config.status
done
cp config.sav config.status
@@
-108,7
+108,7
@@
cp config.sav config.status
$MAKE maintainer-clean
ls -l
test -f lexer.l
$MAKE maintainer-clean
ls -l
test -f lexer.l
-test ! -
r
lexer.c
-test ! -
r
bar-lexer.c
+test ! -
e
lexer.c
+test ! -
e
bar-lexer.c
:
: