mirror of
https://github.com/nmap/nmap.git
synced 2026-01-07 23:19:02 +00:00
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.
This commit is contained 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.
|
||||
|
||||
Reference in New Issue
Block a user