Disable guile auto compilation at build time
[guile-bash.git] / Makefile.am
blobe80911743726fba3959fa2e232a7c7d1b7ad7640
1 ## Usually using anything, but sh is not recommended, but since this
2 ## software requires presence of GNU Bash, we can take advantage of
3 ## it.
4 SHELL=@BASH@
5 ## Autocompile is not needed and makes debian `sbuild` sad,
6 ## since during clean build HOME is absent.
7 export GUILE_AUTO_COMPILE=0
8 ACLOCAL_AMFLAGS = -I m4
9 AM_CFLAGS = @GUILE_CFLAGS@
10 lib_LTLIBRARIES = libguile-bash.la
11 libguile_bash_la_SOURCES = src/scm.c
12 libguile_bash_la_LDFLAGS = -module
13 libguile_bash_la_LIBADD = @GUILE_LDFLAGS@
14 SUBDIRS = lisp .
15 TESTS =
16 XFAIL_TESTS =
18 TESTS += tests/trivial.scm
19 TESTS += tests/alias.bash
20 TESTS += tests/exception.bash
21 XFAIL_TESTS += tests/exception.bash
22 TESTS += tests/capture-output.bash
23 TESTS += tests/variable.bash
24 TESTS += tests/command.bash
25 TESTS += tests/dynamic-var.bash
26 maintainer-clean-local:
27         rm -f modules.af.m4
28         for file in $(TESTS) ; do               \
29            wo_bash_suffix=$${file%%.bash} ;     \
30            wo_suffix=$${wo_bash_suffix%%.scm} ; \
31            rm -f $${wo_suffix}.scm.log  ;       \
32         done