mirror of
https://github.com/nmap/nmap.git
synced 2025-12-31 20:09:02 +00:00
Copy the nselib directory as we do in the POSIX makefile, to avoid installing
.svn directories. These were previously present in the Windows zip file, in the nselib/data and nselib/data/psexec directories.
This commit is contained in:
@@ -26,8 +26,12 @@ winbuild:
|
||||
cp -f OpenSSL/bin/*.dll ./nmap-$(NMAP_VERSION)/
|
||||
mkdir nmap-$(NMAP_VERSION)/scripts
|
||||
cd Release && cp -f $(NSE_FILES) ../nmap-$(NMAP_VERSION)/scripts/
|
||||
mkdir nmap-$(NMAP_VERSION)/nselib
|
||||
cp -a Release/nselib nmap-$(NMAP_VERSION)
|
||||
cd Release && for f in `find nselib -name .svn -prune -o -type d -print`; do \
|
||||
mkdir -p ../nmap-$(NMAP_VERSION)/$$f; \
|
||||
done
|
||||
cd Release && for f in `find nselib -name .svn -prune -o -type f -print`; do \
|
||||
cp -f $$f ../nmap-$(NMAP_VERSION)/$$f; \
|
||||
done
|
||||
cp winpcap/winpcap-nmap-*.exe nmap-$(NMAP_VERSION)
|
||||
cp vcredist_x86.exe nmap-$(NMAP_VERSION)
|
||||
cp ../ncat/Release/ncat.exe nmap-$(NMAP_VERSION)
|
||||
|
||||
Reference in New Issue
Block a user