File: outdir.test

package info (click to toggle)
automake 1.3-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 1,944 kB
  • ctags: 24
  • sloc: perl: 4,855; sh: 3,833; ansic: 387; makefile: 163
file content (17 lines) | stat: -rwxr-xr-x 272 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh

# Test to ensure that --output-dir works.  Bug report from Joshua
# Cowan.

. $srcdir/defs || exit 1

cat > Makefile.am <<'END'
pkgdata_DATA =
END

mkdir zardir

$AUTOMAKE --output-dir=zardir || exit 1

test -f Makefile.in && exit 1
test -f zardir/Makefile.in