From 4fde7aef8375e499693e40467df44874243d9cc3 Mon Sep 17 00:00:00 2001 From: fyodor Date: Sat, 11 Aug 2007 03:46:08 +0000 Subject: [PATCH] merge soc07 r4831 - Avoid putting .svn directories in the Windows zip file. --- mswin32/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mswin32/Makefile b/mswin32/Makefile index fedfcbacd..052c9fcbb 100644 --- a/mswin32/Makefile +++ b/mswin32/Makefile @@ -2,6 +2,7 @@ MAKENSIS=/c/apps/NSIS/makensis.exe VCEXPRESS="/c/Program Files/Microsoft Visual Studio 8/Common7/IDE/VCExpress.exe" export NMAP_VERSION := $(shell grep '^\#[ \t]*define[ \t]\+NMAP_VERSION' ../nmap.h | sed -e 's/.*"\(.*\)".*/\1/' -e 'q') LOGLOC=c:nmapbuild.log +NSE_FILES = scripts/script.db scripts/*.nse winbuild: # VCExpress.exe is devenv.com with the commercial Visual Studio suite instead of VC++ Express @@ -9,7 +10,9 @@ winbuild: $(MAKENSIS) winpcap/winpcap-nmap.nsi rm -rf nmap-$(NMAP_VERSION) mkdir nmap-$(NMAP_VERSION) - cd Release && cp -r ../../CHANGELOG ../../COPYING scripts nmap-mac-prefixes nmap-os-fingerprints nmap-os-db nmap-protocols nmap-rpc nmap-service-probes nmap-services nmap.exe nmap.xsl ../nmap_performance.reg ../../README-WIN32 ../nmap-$(NMAP_VERSION)/ + cd Release && cp -r ../../CHANGELOG ../../COPYING nmap-mac-prefixes nmap-os-fingerprints nmap-os-db nmap-protocols nmap-rpc nmap-service-probes nmap-services nmap.exe nmap.xsl ../nmap_performance.reg ../../README-WIN32 ../nmap-$(NMAP_VERSION)/ + mkdir nmap-$(NMAP_VERSION)/scripts + cd Release && cp -f $(NSE_FILES) ../nmap-$(NMAP_VERSION)/scripts/ zip -r nmap-$(NMAP_VERSION)-win32.zip nmap-$(NMAP_VERSION) cp winpcap/winpcap-nmap-*.exe nmap-$(NMAP_VERSION) cp nsis/AddToPath.nsh nsis/Nmap.nsi nmap-$(NMAP_VERSION)