Call the Zenmap setup.py uninstaller from the uninstall-zenmap target.

This commit is contained in:
david 2008-05-07 02:42:22 +00:00
parent 7b3be0483b
commit 326424ebdb

View file

@ -245,8 +245,7 @@ uninstall-nmap:
rm -rf $(DESTDIR)$(nmapdatadir) $(DESTDIR)$(nmaplibexecdir)
uninstall-zenmap:
# This is not a complete uninstall for Zenmap. It only uninstalls the
# things installed by this makefile.
cd $(ZENMAPDIR) && $(PYTHON) setup.py uninstall
rm -f $(DESTDIR)$(mandir)/man1/zenmap.1
# Uninstall nmapfe only if it's a symlink.
if [ -L $(DESTDIR)$(bindir)/nmapfe ]; then \