mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-12 07:26:42 +00:00
* Fix bindings Makefile to support ruby1.9.0
This commit is contained in:
parent
54ada0d893
commit
bf35f03ac8
@ -31,11 +31,12 @@ install-python:
|
||||
|
||||
install-ruby:
|
||||
@if [ "`grep ruby supported.langs`" ]; then \
|
||||
target=/usr/lib/ruby/1.9.1/ ; \
|
||||
mkdir -p $$target/r2 ; \
|
||||
echo "Installing ruby r2 modules..." ; \
|
||||
cp -rf ruby/* $$target/r2 ; \
|
||||
cp -rf ruby/*libr* $$target ; \
|
||||
for a in 1.9.0 1.9.1; do \
|
||||
mkdir -p /usr/lib/ruby/$$a/r2 ; \
|
||||
echo "Installing ruby$$a r2 modules..." ; \
|
||||
cp -rf ruby/* /usr/lib/ruby/$$a/r2 ; \
|
||||
cp -rf ruby/*libr* /usr/lib/ruby/$$a ; \
|
||||
done ; \
|
||||
fi
|
||||
|
||||
install-perl:
|
||||
@ -55,8 +56,8 @@ oldtest:
|
||||
python test.py
|
||||
|
||||
clean:
|
||||
rm -rf python/*.so python/*.c python/*.i python/libr*
|
||||
rm -rf perl/*.so perl/*.pm perl/*.c perl/*.i perl/libr*
|
||||
rm -rf ruby/*.so ruby/*.c ruby/*.i ruby/libr*
|
||||
cd python && make clean
|
||||
cd perl && make clean
|
||||
cd ruby && make clean
|
||||
|
||||
.PHONY: ruby python perl clean oldtest test all
|
||||
|
Loading…
Reference in New Issue
Block a user