source: trunk/essentials/sys-devel/automake-1.4/tests/extra.test

Last change on this file was 3124, checked in by bird, 18 years ago

automake 1.4-p6

File size: 523 bytes
Line 
1#! /bin/sh
2
3# Test to make sure EXTRA_ targets are generated. This test used to
4# make sure the targets were *not* generated. That is wrong; the
5# targets should always be generated. However, they should not be
6# built by default.
7
8. $srcdir/defs || exit 1
9
10cat >> configure.in << 'END'
11AC_PROG_CC
12END
13
14cat > Makefile.am << 'END'
15bin_PROGRAMS = @foo@
16EXTRA_PROGRAMS = zardoz
17END
18
19$AUTOMAKE || exit 1
20
21grep "^zardoz" Makefile.in || exit 1
22
23# Can't have EXTRA clean rules.
24grep 'clean.*EXTRA' Makefile.in && exit 1
25exit 0
Note: See TracBrowser for help on using the repository browser.