From 2b8b9ab901633c780daf109b7ae26af849e81017 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Tue, 7 Sep 2021 16:08:28 +0530 Subject: Makefile: Silence swig. * Makefile.am (SWIG_GEN, SWIG_GEN_, SWIG_GEN_0, SWIG_GEN_1): New variables. (xapian_wrap.cc): Silence with SWIG_GEN. --- Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3