From 80d961be41bdb3b6d5b298ba9397c931a2a08c54 Mon Sep 17 00:00:00 2001 From: fyodor Date: Tue, 22 May 2007 07:23:47 +0000 Subject: [PATCH] Merge r4756:4758 from soc07 (David change in way nse script dir copied for install) --- Makefile.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 11ba883fa..9d6c24bac 100644 --- a/Makefile.in +++ b/Makefile.in @@ -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)