From 4ad1f4d3629fb3717d174eeaeef575aee1646a4a Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 8 Sep 2021 00:39:26 +0530 Subject: Makefile: Clean xapian.i and xapian_wrap.cc. * Makefile.am (CLEANFILES): Add xapian.i and xapian_wrap.cc --- Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3