Nmap Development mailing list archives

[PATCH] Win32 Post build event to copy nselib/data/*.*


From: jah <jah () zadkiel plus com>
Date: Mon, 25 Aug 2008 15:22:36 +0100

Hello,

The data subdirectory of nselib is not copied when building Nmap on
windows.  The attached patch for nmap.vcproj adds an xcopy command to
the post-build event which fixes this.

Regards,

jah
--- nmap.vcproj.orig    2008-08-01 01:23:07.875000000 +0100
+++ nmap.vcproj 2008-08-25 15:11:00.171875000 +0100
@@ -199,7 +199,7 @@
                        />
                        <Tool
                                Name="VCPostBuildEventTool"
-                               CommandLine="xcopy &quot;$(SolutionDir)..\scripts&quot; 
&quot;.\$(ConfigurationName)\scripts\&quot; /e /y &amp;&amp; xcopy &quot;$(SolutionDir)..\nselib\*.lua&quot; 
&quot;$(SolutionDir)\$(ConfigurationName)\nselib\&quot; /y &amp;&amp; xcopy 
&quot;$(SolutionDir)\OpenSSL\bin\*.dll&quot; &quot;$(SolutionDir)\$(ConfigurationName)\&quot; /y"
+                               CommandLine="xcopy &quot;$(SolutionDir)..\scripts&quot; 
&quot;.\$(ConfigurationName)\scripts\&quot; /e /y &amp;&amp; xcopy &quot;$(SolutionDir)..\nselib\*.lua&quot; 
&quot;$(SolutionDir)\$(ConfigurationName)\nselib\&quot; /y &amp;&amp; xcopy 
&quot;$(SolutionDir)..\nselib\data\*.*&quot; &quot;$(SolutionDir)\$(ConfigurationName)\nselib\data\&quot; /y &amp;&amp; 
xcopy &quot;$(SolutionDir)\OpenSSL\bin\*.dll&quot; &quot;$(SolutionDir)\$(ConfigurationName)\&quot; /y"
                        />
                </Configuration>
        </Configurations>

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

Current thread: