aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2021-09-07 16:08:28 +0530
committerArun Isaac2021-09-07 16:08:28 +0530
commit2b8b9ab901633c780daf109b7ae26af849e81017 (patch)
treea8a9d12843ba05ec3184b1e8d5cf223fa897049c
parentfe9d3755e4ce615477d23fa9233d83e450b10e80 (diff)
downloadguile-xapian-2b8b9ab901633c780daf109b7ae26af849e81017.tar.gz
guile-xapian-2b8b9ab901633c780daf109b7ae26af849e81017.tar.lz
guile-xapian-2b8b9ab901633c780daf109b7ae26af849e81017.zip
Makefile: Silence swig.
* Makefile.am (SWIG_GEN, SWIG_GEN_, SWIG_GEN_0, SWIG_GEN_1): New variables. (xapian_wrap.cc): Silence with SWIG_GEN.
-rw-r--r--Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index fc533a8..3302776 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -30,6 +30,11 @@ GUILD_GEN_ = $(GUILD_GEN_$(AM_DEFAULT_VERBOSITY))
GUILD_GEN_0 = @echo " GUILD " $@;
GUILD_GEN_1 =
+SWIG_GEN = $(SWIG_GEN_$(V))
+SWIG_GEN_ = $(SWIG_GEN_$(AM_DEFAULT_VERBOSITY))
+SWIG_GEN_0 = @echo " SWIG " $@;
+SWIG_GEN_1 =
+
# Xapian wrapper
lib_LTLIBRARIES = libguilexapian.la
@@ -43,7 +48,7 @@ xapian.i: xapian.i.in Makefile
sed 's|@libdir[@]|$(libdir)|g' $< > $@
xapian_wrap.cc: xapian.i xapian-head.i xapian-headers.i
- $(SWIG) $(SWIG_FLAGS) -scmstub -o $@ -guile -package xapian -c++ $<
+ $(SWIG_GEN)$(SWIG) $(SWIG_FLAGS) -scmstub -o $@ -guile -package xapian -c++ $<
xapian_wrap.scm: xapian_wrap.cc