From 7e787c480076ed1a85df045f781bec10c418504a Mon Sep 17 00:00:00 2001 From: david Date: Sat, 1 Dec 2007 00:21:28 +0000 Subject: [PATCH] Rename Python packages umitCore to zenmapCore and umitGUI to zenmapGUI with the following command: grep -l 'umitGUI\|umitCore' * -r | grep -v '/\.svn/' | xargs -n 1 -t sed -i -e 's/umitGUI/zenmapGUI/' -e 's/umitCore/zenmapCore/' This allows both Umit and Zenmap to be installed at the same time. --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index e98e7eb3e..a7674fd54 100644 --- a/Makefile.in +++ b/Makefile.in @@ -192,7 +192,7 @@ $(ZENMAPDIR)/setup.py: cd $(ZENMAPDIR) && install_scripts/unix/setup.sh # Update the version number used by Zenmap. -$(ZENMAPDIR)/umitCore/Version.py $(ZENMAPDIR)/share/zenmap/config/zenmap_version: nmap.h +$(ZENMAPDIR)/zenmapCore/Version.py $(ZENMAPDIR)/share/zenmap/config/zenmap_version: nmap.h cd $(ZENMAPDIR) && $(PYTHON) install_scripts/utils/version_update.py "$(NMAP_VERSION)" # By default distutils rewrites installed scripts to hardcode the @@ -203,7 +203,7 @@ $(ZENMAPDIR)/umitCore/Version.py $(ZENMAPDIR)/share/zenmap/config/zenmap_version # local installation. DEFAULT_PYTHON_PATH = /usr/bin/env python -build-zenmap: $(ZENMAPDIR)/setup.py $(ZENMAPDIR)/umitCore/Version.py +build-zenmap: $(ZENMAPDIR)/setup.py $(ZENMAPDIR)/zenmapCore/Version.py # When DESTDIR is defined, assume we're building an executable # distribution rather than a local installation and force a generic # Python interpreter location.