Reword the copyright notices to match what's suggested in GPLv3.
[automake/plouj.git] / tests / noinstdir.test
blobabe5f5ac8935f97dae4921f646db1399d1820913
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