Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
1d5a1f6
)
Fix "make distclean" when Ruby is not in use
author
David Reiss
<dreiss@apache.org>
Thu, 20 Nov 2008 21:24:18 +0000
(21:24 +0000)
committer
David Reiss
<dreiss@apache.org>
Thu, 20 Nov 2008 21:24:18 +0000
(21:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@719379
13f79535
-47bb-0310-9956-
ffa450edef68
lib/rb/Makefile.am
patch
|
blob
|
history
diff --git
a/lib/rb/Makefile.am
b/lib/rb/Makefile.am
index
43acfff
..
07fc5c6
100644
(file)
--- 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