mirror of
https://github.com/nmap/nmap.git
synced 2026-01-23 22:59:20 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user