mirror of
https://github.com/nmap/nmap.git
synced 2026-10-21 19:32:18 +00:00
Merge r4756:4758 from soc07 (David change in way nse script dir copied for install)
This commit is contained in:
parent
4fd4757e63
commit
80d961be41
1 changed files with 3 additions and 1 deletions
|
|
@ -177,8 +177,10 @@ install-nmapfe: $(TARGETNMAPFE)
|
|||
@echo "If the next command fails -- you cannot use the X front end"
|
||||
-test -f nmapfe/nmapfe && $(INSTALL) -c -m 755 -s nmapfe/nmapfe $(DESTDIR)$(bindir)/nmapfe && rm -f $(DESTDIR)$(bindir)/xnmap && $(SHTOOL) mkln -f -s $(DESTDIR)$(bindir)/nmapfe $(DESTDIR)$(bindir)/xnmap && $(INSTALL) -c -m 644 nmapfe.desktop $(DESTDIR)$(deskdir)/nmapfe.desktop && $(INSTALL) -c -m 644 docs/nmapfe.1 $(DESTDIR)$(mandir)/man1/nmapfe.1 && $(INSTALL) -c -m 644 docs/xnmap.1 $(DESTDIR)$(mandir)/man1/xnmap.1
|
||||
|
||||
NSE_FILES = scripts/script.db scripts/*.nse
|
||||
install-nse: $(TARGET)
|
||||
cp -r scripts/ $(DESTDIR)$(nmapdatadir)/
|
||||
$(SHTOOL) mkdir -f -p -m 755 $(DESTDIR)$(nmapdatadir)/scripts
|
||||
cp -f $(NSE_FILES) $(DESTDIR)$(nmapdatadir)/scripts
|
||||
|
||||
install: install-nmap $(INSTALLNMAPFE) $(INSTALLNSE)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue