From b64243b05a53c944878cabecc09573237f0b7757 Mon Sep 17 00:00:00 2001 From: david Date: Mon, 1 Oct 2007 05:42:45 +0000 Subject: [PATCH] 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. --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 15f8cc968..c81d2b8b4 100644 --- a/Makefile.in +++ b/Makefile.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