mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-23 21:29:49 +00:00
Fix make install issues with r2pm
This commit is contained in:
parent
c00763289f
commit
9442ec43fc
6
Makefile
6
Makefile
@ -155,6 +155,10 @@ install love: install-doc install-man install-www
|
||||
for DIR in ${DATADIRS} ; do \
|
||||
(cd "$$DIR" ; ${MAKE} install ); \
|
||||
done
|
||||
cd "$(DESTDIR)$(LIBDIR)/radare2/" ;\
|
||||
rm -f last ; ln -fs $(VERSION) last
|
||||
cd "$(DESTDIR)$(DATADIR)/radare2/" ;\
|
||||
rm -f last ; ln -fs $(VERSION) last
|
||||
rm -rf "${DESTDIR}${LIBDIR}/radare2/${VERSION}/hud"
|
||||
mkdir -p "${DESTDIR}${LIBDIR}/radare2/${VERSION}/hud"
|
||||
cp -f doc/hud "${DESTDIR}${LIBDIR}/radare2/${VERSION}/hud/main"
|
||||
@ -198,7 +202,7 @@ symstall install-symlink: install-man-symlink install-doc-symlink install-pkgcon
|
||||
mkdir -p "${DESTDIR}${LIBDIR}/radare2/${VERSION}/hud"
|
||||
cd "$(DESTDIR)$(LIBDIR)/radare2/" ;\
|
||||
rm -f last ; ln -fs $(VERSION) last
|
||||
cd "$(DESTDIR)$(PREFIX)/share/radare2/" ;\
|
||||
cd "$(DESTDIR)$(DATADIR)/radare2/" ;\
|
||||
rm -f last ; ln -fs $(VERSION) last
|
||||
ln -fs "${PWD}/doc/hud" "${DESTDIR}${LIBDIR}/radare2/${VERSION}/hud/main"
|
||||
mkdir -p "${DESTDIR}${DATADIR}/radare2/${VERSION}/"
|
||||
|
@ -30,9 +30,9 @@ install:
|
||||
done
|
||||
${INSTALL_SCRIPT} "$(BTOP)/r2pm/r2pm" "${DESTDIR}${BINDIR}/r2pm"
|
||||
rm -f "${DESTDIR}${BINDIR}/ragg2-cc"
|
||||
rm -rf "${DESTDIR}${PREFIX}/radare2/${VERSION}/r2pm"
|
||||
mkdir -p "${DESTDIR}${PREFIX}/radare2/${VERSION}/r2pm"
|
||||
cp -rf r2pm/d/* "${DESTDIR}${PREFIX}/radare2/${VERSION}/r2pm"
|
||||
rm -rf "${DESTDIR}${DATADIR}/radare2/${VERSION}/r2pm"
|
||||
mkdir -p "${DESTDIR}${DATADIR}/radare2/${VERSION}/r2pm"
|
||||
cp -rf r2pm/d/* "${DESTDIR}${DATADIR}/radare2/${VERSION}/r2pm"
|
||||
${INSTALL_SCRIPT} ragg2/ragg2-cc "${DESTDIR}${BINDIR}/ragg2-cc"
|
||||
-cd "${DESTDIR}${BINDIR}" && rm -f r2 ; ln -fs radare2 r2
|
||||
${INSTALL_LIB} "preload/libr2.$(EXT_SO)" "${DESTDIR}${LIBDIR}"
|
||||
|
Loading…
Reference in New Issue
Block a user