Nmap Development mailing list archives

Re: Final (perhaps) release candidate: Nmap 4.49RC4


From: jah <jah () zadkiel plus com>
Date: Sat, 08 Dec 2007 04:48:20 +0000

On windows, the zenmap\share\zenmap\docs are not in subdirs and the .html, .xml docbooks and .png images are all lumped together. The html files expect the .png images to be in a screenshots dir and so I attach a patch for copy_and_compile.bat to fix this (create dir, move *.png). I've left the .xml files where they are since they're not apparently used in windows.

jah
Index: copy_and_compile.bat
===================================================================
--- copy_and_compile.bat        (revision 6450)
+++ copy_and_compile.bat        (working copy)
@@ -55,6 +55,10 @@
 echo Compiling using py2exe...
 %PythonEXE% -OO setup.py py2exe >> %Output%
 
+echo Creating dist\share\zenmap\docs\screenshots dir and moving screenshots to it...
+mkdir %DistDir%\share\zenmap\docs\screenshots
+move /Y %DistDir%\share\zenmap\docs\*.png %DistDir%\share\zenmap\docs\screenshots >> %Output%
+
 echo Copying some more GTK files to dist directory...
 xcopy %GTKDir%\lib %DistDir%\lib /S /I >> %Output%
 xcopy %GTKDir%\etc %DistDir%\etc /S /I >> %Output%

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org

Current thread: