File: instman.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 (17 lines) | stat: -rwxr-xr-x 331 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#! /bin/sh

# Test to make sure mkinstalldirs invocation correct in install-man
# target.  Bug reported by Gordon Irlam <gordoni@cygnus.com>.

. $srcdir/defs || exit 1

cat > Makefile.am << 'EOF'
man_MANS = frob.8
EOF

: > frob.8

$AUTOMAKE || exit 1

grep '[^(/]mkinstalldirs' Makefile.in > out || exit 1
test `wc -l < out` -eq 1