summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am23
1 files changed, 19 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am
index 94108ef..193c44b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,6 @@
GOBJECTS = $(SOURCES:%.scm=%.go)
-nobase_mod_DATA = $(SOURCES) $(NOCOMP_SOURCES)
+nobase_mod_DATA = $(SOURCES)
nobase_go_DATA = $(GOBJECTS)
# Make sure source files are installed first, so that the mtime of
@@ -11,8 +11,6 @@ nobase_go_DATA = $(GOBJECTS)
guile_install_go_files = install-nobase_goDATA
$(guile_install_go_files): install-nobase_modDATA
-CLEANFILES = $(GOBJECTS)
-EXTRA_DIST = $(SOURCES) $(NOCOMP_SOURCES)
GUILE_WARNINGS = -Wunbound-variable -Warity-mismatch -Wformat
SUFFIXES = .scm .go
.scm.go:
@@ -27,6 +25,23 @@ SOURCES = \
srt2vtt/webvtt.scm \
srt2vtt/ui.scm
-EXTRA_DIST += pre-inst-env.in
+TESTS = \
+ tests/subrip.scm \
+ tests/webvtt.scm
+
+TEST_EXTENSIONS = .scm
+
+SCM_LOG_COMPILER = $(GUILE)
+AM_SCM_LOG_FLAGS = --no-auto-compile -L $(top_srcdir)
+
+CLEANFILES = \
+ $(GOBJECTS) \
+ $(TESTS:tests/%.scm=%.log)
+
+EXTRA_DIST = \
+ $(SOURCES) \
+ $(TESTS) \
+ tests/utils.scm \
+ pre-inst-env.in
dist_bin_SCRIPTS = scripts/srt2vtt