mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +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:
parent
4cd9fa160d
commit
79bdfec9b5
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue