From 8c28df256913e8c2fdfb64538ffcb7f9f4b9bd91 Mon Sep 17 00:00:00 2001 From: David Reiss Date: Thu, 20 Nov 2008 21:24:18 +0000 Subject: [PATCH] Fix "make distclean" when Ruby is not in use git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@719379 13f79535-47bb-0310-9956-ffa450edef68 --- lib/rb/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/rb/Makefile.am b/lib/rb/Makefile.am index 43acfff2..07fc5c6c 100644 --- a/lib/rb/Makefile.am +++ b/lib/rb/Makefile.am @@ -7,7 +7,9 @@ all-local: install-exec-hook: $(RUBY) setup.rb install +# Make sure this doesn't fail if Ruby is not configured. clean-local: - $(RUBY) setup.rb clean + RUBY=$(RUBY) ; if test -z "$$RUBY" ; then RUBY=: ; fi ; \ + $$RUBY setup.rb clean check-local: all -- 2.17.1