radare2/sys/dist-all.sh

23 lines
381 B
Bash
Executable File

#!/bin/sh
cd `dirname $PWD/$0`/..
sys/clone-r2-bindings.sh
sys/install.sh
make dist
cd radare2-bindings || exit 1
./configure --prefix=/usr --enable-devel
make mrproper
cd python
make
cd ..
make dist
DD=/tmp/r2
rm -rf $DD
mkdir $DD
cp ../radare2-bindings-`make version`.tar.gz $DD
cd ..
cp ../radare2-`make version`.tar.gz $DD
echo distribution tarballs have been copied to $DD