File: mdate3.test

package info (click to toggle)
automake 1%3A1.4-p6-13.1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze, wheezy
  • size: 2,360 kB
  • ctags: 26
  • sloc: perl: 5,527; sh: 5,269; ansic: 404; makefile: 167
file content (32 lines) | stat: -rwxr-xr-x 492 bytes parent folder | download | duplicates (6)
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
#! /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

$AUTOMAKE || exit 1

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