aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2021-09-08 00:39:26 +0530
committerArun Isaac2021-09-08 00:39:26 +0530
commit4ad1f4d3629fb3717d174eeaeef575aee1646a4a (patch)
tree824f1e0c8c8b56772ac8456e1f2ee1aa7689bc76
parent257e13bb74c0138415652f02a057469fca6ef011 (diff)
downloadguile-xapian-4ad1f4d3629fb3717d174eeaeef575aee1646a4a.tar.gz
guile-xapian-4ad1f4d3629fb3717d174eeaeef575aee1646a4a.tar.lz
guile-xapian-4ad1f4d3629fb3717d174eeaeef575aee1646a4a.zip
Makefile: Clean xapian.i and xapian_wrap.cc.
* Makefile.am (CLEANFILES): Add xapian.i and xapian_wrap.cc
-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