docs: deprecate .log -> .html conversion by parallel-tests
[automake.git] / tests / nodep2.test
blob53bcaad6eb4e15e820563019fb43dc17944f47e6
1 #! /bin/sh
2 # Copyright (C) 2006 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 2, 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 # Another test to make sure no-dependencies option does the right thing.
19 . ./defs || Exit 1
21 set -e
23 cat > Makefile.am << 'END'
24 bin_PROGRAMS = foo
25 foo_SOURCES = a.c b.cpp c.m d.S e.java f.upc
26 END
28 cat > configure.in << 'END'
29 AC_INIT([nodep2], [1], [bug-automake@gnu.org])
30 AM_INIT_AUTOMAKE([no-dependencies])
31 AC_CONFIG_FILES([Makefile])
32 AC_PROG_CC
33 AC_PROG_CXX
34 AC_PROG_OBJC
35 AM_PROG_AS
36 AM_PROG_GCJ
37 AM_PROG_UPC
38 AC_OUTPUT
39 END
41 : > a.c
42 : > b.cpp
43 : > c.m
44 : > d.S
45 : > e.java
46 : > f.upc
48 $ACLOCAL
49 $AUTOMAKE
51 grep DEPMODE Makefile.in && Exit 1