mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-23 13:19:54 +00:00
* Move RELEASE stuff from doc/releases to DEVELOPERS
* Fix env.sh
This commit is contained in:
parent
486ee5351f
commit
f116b681e6
15
DEVELOPERS
15
DEVELOPERS
@ -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
|
||||
|
15
doc/releases
15
doc/releases
@ -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
14
env.sh
Normal file → Executable 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/
|
||||
'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user