Fix comment typos.
[automake/ericb.git] / tests / noinstdir.test
blob9395795b49672067aabfaadbcd11d33f7ec66eb1
1 #! /bin/sh
2 # Copyright (C) 2001, 2002 Free Software Foundation, Inc.
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 3, or (at your option)
7 # any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program. If not, see <http://www.gnu.org/licenses/>.
17 # Test to make sure that noinst_* and check_* are not installed.
18 # From Pavel Roskin.
20 . ./defs || Exit 1
22 cat > Makefile.am << 'END'
23 noinst_SCRIPTS = foo.sh
24 noinst_DATA = foo.xpm
25 noinst_LIBRARIES = libfoo.a
26 noinst_PROGRAMS = foo
27 noinst_HEADERS = foo.h
28 check_SCRIPTS = bar.sh
29 check_DATA = bar.xpm
30 check_LIBRARIES = libbar.a
31 check_PROGRAMS = bar
32 check_HEADERS = bar.h
33 END
35 cat >> configure.in << 'END'
36 AC_PROG_CC
37 AC_PROG_RANLIB
38 END
40 $ACLOCAL || Exit 1
41 $AUTOMAKE || Exit 1
43 grep 'noinstdir' Makefile.in && Exit 1
44 grep 'checkdir' Makefile.in && Exit 1
45 Exit 0