diff --git a/Makefile b/Makefile index 1d17922b5d1b4..055aa6de771b2 100644 --- a/Makefile +++ b/Makefile @@ -166,6 +166,7 @@ purge: purge-doc purge-dev rm -rf ${DESTDIR}/${INCLUDEDIR}/libr dist: + -[ configure -nt config-user.mk ] && ./configure --prefix=${PREFIX} git log $$(git show-ref `git tag |tail -n1`)..HEAD > ChangeLog DIR=`basename $$PWD` ; \ FILES=`git ls-files | sed -e s,^,radare2-${VERSION}/,` ; \ diff --git a/r2-bindings/Makefile b/r2-bindings/Makefile index 2535e92fff781..5b638072e5408 100644 --- a/r2-bindings/Makefile +++ b/r2-bindings/Makefile @@ -6,9 +6,9 @@ PYTHON2_CONFIG=python2.7-config PYTHON3_CONFIG=python3.2-config ifneq ($(shell bsdtar -h 2>/dev/null|grep bsdtar),) -TAR=bsdtar czvf +TAR=bsdtar cJvf else -TAR=tar -czvf +TAR=tar -cJvf endif W32PY="${HOME}/.wine/drive_c/Python27/" @@ -95,7 +95,7 @@ dist: CXXFILES=`cd .. ; find r2-bindings | grep -e cxx$$ -e py$$ | sed -e "s,r2-bindings/,$${PKG}/,"` ; \ cd .. && mv $${DIR} $${PKG} && \ echo $$FILES ; \ - ${TAR} $${PKG}.tar.gz $${FILES} $${CXXFILES} ; \ + ${TAR} $${PKG}.tar.xz $${FILES} $${CXXFILES} ; \ mv $${PKG} $${DIR} # TODO: valadoc diff --git a/r2-bindings/configure b/r2-bindings/configure index e8774d6f5c8b4..02131b8b99287 100755 --- a/r2-bindings/configure +++ b/r2-bindings/configure @@ -1,5 +1,5 @@ #!/bin/sh -# This script was automatically generated by ACR v0.9.5 +# This script was automatically generated by ACR v0.9.6 # @author: pancake # @url: http://www.nopcode.org # @repo: hg clone http://hg.youterm.com/acr @@ -174,7 +174,7 @@ take_environ() { } show_version() { -echo "radare2-bindings-0.9.6 configuration script done with acr v0.9.5. +echo "radare2-bindings-0.9.6 configuration script done with acr v0.9.6. The 'Free Software Foundation' message is only for autodetection. Originally written by pancake ." exit 0 @@ -302,7 +302,7 @@ if [ "${CROSSBUILD}" = 1 ]; then if [ "$?" = 0 ]; then CXX="${HOST}-${CXX}"; fi fi echo "#include " > test.cxx -echo "main(){ std::cout << 1; }" >> test.cxx +echo "int main(){ std::cout << 1; return 0;}" >> test.cxx (exec ${CXX} ${CXXFLAGS} ${LDFLAGS} test.cxx -lstdc++ >/dev/null 2>&1) if [ $? = 0 ]; then echo ${CXX}; else HAVE_LANG_CXX=0 @@ -324,7 +324,7 @@ else break; fi done - unset IFS=: + unset IFS fi if [ -n "${FIND}" ]; then echo ${FIND}; @@ -346,7 +346,7 @@ else break; fi done - unset IFS=: + unset IFS fi if [ -n "${FIND}" ]; then echo ${FIND}; @@ -368,7 +368,7 @@ else break; fi done - unset IFS=: + unset IFS fi if [ -n "${FIND}" ]; then echo ${FIND};