summaryrefslogtreecommitdiff
path: root/tests/remake2.test
blob: 74545f0620ac2b1f83c4eab432891cd5aa05f457 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /bin/sh

# Make sure remaking rules in subdir are correct.

. $srcdir/defs || exit 1

cat > configure.in << 'END'
PACKAGE=nonesuch
VERSION=nonesuch
AC_ARG_PROGRAM
AC_PROG_INSTALL
AC_OUTPUT(sub/Makefile)
END

mkdir sub
: > sub/Makefile.am

$AUTOMAKE || exit 1

grep 'automake.*sub/Makefile' sub/Makefile.in