* Fix install of sflib

* Hide console write error

--HG--
rename : binr/ragg2/d/README => binr/ragg2/README
This commit is contained in:
pancake 2011-12-01 15:37:47 +01:00
parent 696961d15d
commit 65189bbe5c
4 changed files with 3 additions and 19 deletions

View File

@ -108,7 +108,8 @@ install-doc-symlink:
${INSTALL_DIR} ${PFX}/share/doc/radare2
cd doc ; for a in * ; do ln -fs ${PWD}/$$a ${PFX}/share/doc/radare2 ; done
DATADIRS=libr/asm/d libr/syscall/d libr/magic/d binr/ragg2/d
DATADIRS=libr/asm/d libr/syscall/d libr/magic/d
#binr/ragg2/d
install: install-doc install-man
cd libr && ${MAKE} install PARENT=1 PREFIX=${PREFIX} DESTDIR=${DESTDIR}
cd binr && ${MAKE} install PREFIX=${PREFIX} DESTDIR=${DESTDIR}

View File

@ -1,17 +0,0 @@
include ../../../config-user.mk
IFX=${DESTDIR}/${INCLUDEDIR}
.PHONY: all symstall install
all:
PWD=$(shell pwd)
symstall install-symlink:
mkdir -p ${IFX}/libr
-rm -f ${IFX}/libr/sflib
-rm -rf ${IFX}/libr/sflib
cd ${IFX}/libr ; ln -fs ${PWD}/sflib
install:
mkdir -p ${IFX}/libr/sflib
cp -rf sflib/* ${IFX}/libr/sflib

View File

@ -23,7 +23,7 @@ static inline void r_cons_write (const char *buf, int len) {
r_cons_w32_print ((unsigned char *)buf);
#else
if (write (I.fdout, buf, len) == -1) {
eprintf ("r_cons_write: write error\n");
//eprintf ("r_cons_write: write error\n");
//exit (1);
}
#endif