Skip to content

Commit

Permalink
Add target to create debian package without dockcross (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
radare authored May 6, 2020
1 parent 60d90d9 commit 064946e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions p/dist/debian/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ all: root
${MAKE} control
${MAKE} deb

# only run this in native Ubuntu/Debian based system
myroot:
export CFLAGS=-DR2DEC_HOME="\\\"$(shell r2 -H R2_LIBR_PLUGINS)/r2dec-js\\\"" ; \
make -C ../.. clean core_pdd.so V=
mkdir -p root/$(R2PLUGDIR)
cp -f ../../core_pdd.so root/$(R2PLUGDIR)
git clone ../../.. .r
rm -rf .r/p .r/.git*
mv .r root/$(R2PLUGDIR)/r2dec-js

root:
cd ../.. && $(MAKE) clean ; \
$(DOCKCROSS) --image dockcross/linux-$(CROSSARCH) bash -c ' \
Expand Down

0 comments on commit 064946e

Please sign in to comment.