aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 06b411a..4793156 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -44,6 +44,8 @@ libguilexapian_la_SOURCES = xapian_wrap.cc
libguilexapian_la_CXXFLAGS = $(GUILE_CFLAGS) $(XAPIAN_CFLAGS)
libguilexapian_la_LDFLAGS = $(GUILE_LIBS) $(XAPIAN_LIBS)
+CLEANFILES = xapian.i xapian_wrap.cc
+
xapian.i: xapian.i.in Makefile
sed 's|@libdir[@]|$(libdir)|g' $< > $@
@@ -63,7 +65,7 @@ GOBJECTS = $(SOURCES:%.scm=%.go)
nobase_mod_DATA = $(SOURCES)
nobase_go_DATA = $(GOBJECTS)
-CLEANFILES = $(GOBJECTS)
+CLEANFILES += $(GOBJECTS)
GUILE_WARNINGS = -Wunbound-variable -Warity-mismatch -Wformat
%.go: %.scm