repo.or.cz
/
automake.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
nothing
[automake.git]
/
tests
/
xsource.test
blob
62fadc480fec0f65ad2e19ae1cd04a5f40199d4f
1
#! /bin/sh
2
3
# Test to make sure source in another directory works.
4
5
.
$srcdir
/
defs ||
exit
1
6
7
cat
>
Makefile.am
<<
'END'
8
bin_PROGRAMS
=
zardoz
9
zardoz_SOURCES
=
z.c x
/
y.c
10
END
11
12
cat
>>
configure.
in
<<
'END'
13
AC_PROG_CC
14
END
15
16
mkdir x
17
18
: >
z.c
19
: >
x
/
y.c
20
21
$AUTOMAKE
||
exit
1
22
23
test
`fgrep y.c Makefile.in | wc -l`
-eq
1