From 79bdfec9b51500b34713cb2b449b44f484b248aa Mon Sep 17 00:00:00 2001 From: david Date: Sun, 4 Nov 2007 18:35:43 +0000 Subject: [PATCH] Use --root to give DESTDIR to setup.py instead of embedding it in --prefix. This will help in making a Zenmap RPM. --- Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index badd5a08c..0aca28e00 100644 --- a/Makefile.in +++ b/Makefile.in @@ -199,7 +199,7 @@ build-zenmap: $(ZENMAPDIR)/setup.py $(ZENMAPDIR)/umitCore/Version.py cd $(ZENMAPDIR) && $(PYTHON) setup.py build install-zenmap: $(ZENMAPDIR)/setup.py - cd $(ZENMAPDIR) && $(PYTHON) setup.py install --prefix $(DESTDIR)$(prefix) + cd $(ZENMAPDIR) && $(PYTHON) setup.py install --prefix "$(prefix)" $(if $(DESTDIR),--root "$(DESTDIR)") NSE_FILES = scripts/script.db scripts/*.nse NSE_LIB_LUA_FILES = nselib/*.lua