mirror of
https://github.com/nmap/nmap.git
synced 2025-12-25 08:59:01 +00:00
Handle all Umit version updating in a specialized script. Now, instead of Nmap
updating one of Umit's version numbers and having Umit adjust all the others, Nmap calls a script of Umit's that updates all its version numbers at once. This also makes Umit's versioning scheme more independent of Nmap's.
This commit is contained in:
@@ -209,8 +209,8 @@ $(UMITDIR)/setup.py:
|
||||
cd $(UMITDIR) && install_scripts/unix/setup.sh
|
||||
|
||||
# Update the version number used by Umit.
|
||||
$(UMITDIR)/umitCore/Version.py: nmap.h
|
||||
echo "VERSION = \"$(NMAP_VERSION)\"" > $@
|
||||
$(UMITDIR)/umitCore/Version.py $(UMITDIR)/share/umit/config/umit_version: nmap.h
|
||||
cd $(UMITDIR) && $(PYTHON) install_scripts/utils/version_update.py "$(NMAP_VERSION)"
|
||||
|
||||
build-umit: $(UMITDIR)/setup.py $(UMITDIR)/umitCore/Version.py
|
||||
cd $(UMITDIR) && $(PYTHON) setup.py build
|
||||
|
||||
Reference in New Issue
Block a user