mirror of
https://github.com/nmap/nmap.git
synced 2026-01-08 23:49:03 +00:00
Use --root to give DESTDIR to setup.py instead of embedding it in --prefix. This will help in making a Zenmap RPM.
This commit is contained 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
|
||||
|
||||
Reference in New Issue
Block a user