From 1b315f7b97c537003fdd615fa57ee33e14db7742 Mon Sep 17 00:00:00 2001 From: david Date: Tue, 24 Mar 2009 17:40:50 +0000 Subject: [PATCH] Use the --force option to setup.py when installing Zenmap to prohibit distutils from retaining old files it doesn't think need to be replaced. --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 7fde4a869..1105e9271 100644 --- a/Makefile.in +++ b/Makefile.in @@ -223,7 +223,7 @@ build-zenmap: $(ZENMAPDIR)/setup.py $(ZENMAPDIR)/zenmapCore/Version.py install-zenmap: $(ZENMAPDIR)/setup.py $(INSTALL) -d $(DESTDIR)$(bindir) $(DESTDIR)$(mandir)/man1 - cd $(ZENMAPDIR) && $(PYTHON) setup.py install --prefix "$(prefix)" $(if $(DESTDIR),--root "$(DESTDIR)") + cd $(ZENMAPDIR) && $(PYTHON) setup.py install --prefix "$(prefix)" --force $(if $(DESTDIR),--root "$(DESTDIR)") $(INSTALL) -c -m 644 docs/zenmap.1 $(DESTDIR)$(mandir)/man1/ # Create a symlink from nmapfe to zenmap if nmapfe doesn't exist or is # already a link.