File: ansi.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 (23 lines) | stat: -rwxr-xr-x 382 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
#! /bin/sh

# Test for bug where ansi2knr.c is not included in distribution.
# From Franois Pinard.

. $srcdir/defs || exit 1

cat > Makefile.am << 'END'
AUTOMAKE_OPTIONS = ansi2knr
magic:
	@echo $(DISTFILES)
END

cat >> configure.in << 'END'
AM_C_PROTOTYPES
END

: > ansi2knr.c
: > ansi2knr.1

$AUTOMAKE || exit 1

$MAKE -s -f Makefile.in SHELL=/bin/sh magic | grep 'ansi2knr\.c'