* Move RELEASE stuff from doc/releases to DEVELOPERS

* Fix env.sh
This commit is contained in:
pancake 2011-07-19 12:52:51 +02:00
parent 486ee5351f
commit f116b681e6
3 changed files with 25 additions and 19 deletions

View File

@ -132,5 +132,20 @@ work and then export all those patchsets like this:
TODO: explain binary patchsets and how to dump a full branch
HOW TO RELEASE
--------------
- Set RELEASE=1 in global.mk and r2-bindings/config.mk.acr
== RADARE2
- bump revision
- ./configure
- make dist
== R2-BINDINGS
- ./configure --enable-devel
- make
- make dist
--pancake

View File

@ -53,18 +53,3 @@ FUTURE
------
- Commands should be handled in a structural way, not by a bunch of switch/cases
HOW TO RELEASE
--------------
- Set RELEASE=1 in global.mk and r2-bindings/config.mk.acr
== RADARE2
- bump revision
- ./configure
- make dist
== R2-BINDINGS
- ./configure --enable-devel
- make
- make dist

14
env.sh Normal file → Executable file
View File

@ -1,10 +1,16 @@
#!/bin/sh
pfx=$1
if [ -z "$pfx" ]; then
echo "Usage: ./env.sh [path-to-prefix]"
exit 1
fi
new_env='
LIBR_PLUGINS=$PWD/prefix/lib/radare2
PATH=$PATH:$PWD/prefix/bin
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/prefix/lib
DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/prefix/lib
LIBR_PLUGINS=${pfx}/lib/radare2
PATH=$pfx/bin:${PATH}
LD_LIBRARY_PATH=$pfx/lib:$LD_LIBRARY_PATH
DYLD_LIBRARY_PATH=$pfx/lib:$LD_LIBRARY_PATH
PKG_CONFIG_PATH=$PWD/libr/
'