From: Jani Nikula <jani@nikula.org>
Date: Wed, 13 Apr 2016 18:08:45 +0000 (+0300)
Subject: bindings: drop build time message on missing ruby dependency
X-Git-Tag: 0.22_rc0~2
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=8a433aad9901f014e36f1b5cf36e2a6ac9cb466b;p=notmuch

bindings: drop build time message on missing ruby dependency

The usual make message on everything being up to date is:

	make: Nothing to be done for 'all'.

However, since

commit d038b9320949c79503fe4b76870aaabf279405ab
Author: David Bremner <david@tethera.net>
Date:   Mon Jun 1 09:08:59 2015 +0200

    build: integrate building ruby bindings into notmuch build process

if one doesn't have the ruby dependencies installed, the message has
been:

	Missing dependency, skipping ruby bindings

Restore the usual behaviour by dropping the message. It's redundant
during build anyway, since the configure script already outputs:

	Checking for ruby development files... No (skipping ruby bindings)
---

diff --git a/bindings/Makefile.local b/bindings/Makefile.local
index 4ecf839d..11d11d4b 100644
--- a/bindings/Makefile.local
+++ b/bindings/Makefile.local
@@ -10,8 +10,6 @@ ifeq ($(HAVE_RUBY_DEV),1)
 		LIBNOTMUCH="../../lib/$(LINKER_NAME)" \
 		ruby extconf.rb --vendor
 	$(MAKE) -C $(dir)/ruby
-else
-	@echo Missing dependency, skipping ruby bindings
 endif
 
 CLEAN += $(patsubst %,$(dir)/ruby/%, \