2 # Copyright (C) 2011 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)
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 # Interaction of `nobase_' and `nodist_' prefixes.
23 # Simulate no emacs and no python (it shouldn't be needed in this test).
24 EMACS="no" PYTHON=":"; export EMCAS PYTHON
26 cat >> configure.in << 'END'
28 AM_PATH_PYTHON([], [], [:])
29 # Simulate no javac (it shouldn't be needed in this test).
30 AC_SUBST([JAVAC], [false])
34 cat > Makefile.am << 'END'
35 nobase_nodist_noinst_PYTHON = baz1.py sub/baz2.py
36 # Lisp and Java sources are not distributed by default, so try both
37 # with and without the `nodist_' prefix, for more coverage.
38 nobase_noinst_LISP = foo1.el sub/foo2.el
39 nobase_nodist_noinst_LISP = foo3.el sub/foo4.el
40 nobase_noinst_JAVA = bar1.java sub/bar2.java
41 nobase_nodist_noinst_JAVA = bar3.java sub/bar4.java
50 ls -l $distdir $distdir/* # For debugging.
51 test ! -f $distdir/foo1.el
52 test ! -f $distdir/sub/foo2.el
53 test ! -f $distdir/foo3.el
54 test ! -f $distdir/sub/foo4.el
55 test ! -f $distdir/bar1.java
56 test ! -f $distdir/sub/bar2.java
57 test ! -f $distdir/bar3.java
58 test ! -f $distdir/sub/bar4.java
59 test ! -f $distdir/baz1.py
60 test ! -f $distdir/sub/baz2.py