mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Make symlinks from nmapfe and xnmap to zenmap. Don't create the nmapfe symlink
unless that file doesn't exist or is already a link.
This commit is contained in:
parent
65abaee9f3
commit
4a753006db
1 changed files with 7 additions and 0 deletions
|
|
@ -200,6 +200,13 @@ build-zenmap: $(ZENMAPDIR)/setup.py $(ZENMAPDIR)/umitCore/Version.py
|
|||
|
||||
install-zenmap: $(ZENMAPDIR)/setup.py
|
||||
cd $(ZENMAPDIR) && $(PYTHON) setup.py install --prefix "$(prefix)" $(if $(DESTDIR),--root "$(DESTDIR)")
|
||||
# Create a symlink from nmapfe to zenmap if nmapfe doesn't exist or is
|
||||
# already a link.
|
||||
if [ ! -e $(DESTDIR)$(bindir)/nmapfe -o -L $(DESTDIR)$(bindir)/nmapfe ]; then \
|
||||
ln -sf zenmap $(DESTDIR)$(bindir)/nmapfe; \
|
||||
fi
|
||||
# Create a symlink from xnmap to zenmap unconditionally.
|
||||
ln -sf zenmap $(DESTDIR)$(bindir)/xnmap
|
||||
|
||||
NSE_FILES = scripts/script.db scripts/*.nse
|
||||
NSE_LIB_LUA_FILES = nselib/*.lua
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue