aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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