mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-19 12:22:43 +00:00
Add purge2, used from sys/purge.sh
This commit is contained in:
parent
c8e11c0828
commit
21abf22bfb
9
Makefile
9
Makefile
@ -310,6 +310,15 @@ purge: purge-doc purge-dev user-uninstall
|
||||
rm -rf "${DESTDIR}${LIBDIR}/radare2"
|
||||
rm -rf "${DESTDIR}${INCLUDEDIR}/libr"
|
||||
|
||||
purge2:
|
||||
$(MAKE) purge
|
||||
ifneq ($(PREFIX),/usr)
|
||||
$(MAKE) purge PREFIX=/usr
|
||||
endif
|
||||
ifneq ($(PREFIX),/usr/local)
|
||||
$(MAKE) purge PREFIX=/usr/local
|
||||
endif
|
||||
|
||||
R2V=radare2-${VERSION}
|
||||
|
||||
dist:
|
||||
|
@ -12,4 +12,4 @@ fi
|
||||
[ -z "${SUDO}" ] && SUDO=sudo
|
||||
echo "Uninstalling r2 from ${PREFIX}..."
|
||||
./configure --prefix="${PREFIX}"
|
||||
${SUDO} ${MAKE} purge
|
||||
${SUDO} ${MAKE} purge2
|
||||
|
Loading…
x
Reference in New Issue
Block a user