summaryrefslogtreecommitdiff
path: root/tests/mdate3.test
blob: 8440c5aef9cf84c570301916d3cc40902099de7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#! /bin/sh

# Test to make sure mdate-sh run correctly.

. $srcdir/defs || exit 1

cat >> configure.in << 'END'
AC_CONFIG_AUX_DIR(foo)
END

cat > Makefile.am << 'END'
info_TEXINFOS = textutils.texi
END

cat > textutils.texi << 'END'
@include version.texi
@setfilename textutils.info
END

mkdir foo

# Required when using Texinfo.
: > foo/texinfo.tex
: > foo/mdate-sh
mv install-sh foo
mv missing foo
mv mkinstalldirs foo
mv depcomp foo

$AUTOMAKE || exit 1

grep '[^/]mdate-sh' Makefile.in && exit 1
exit 0