Bug 5

Summary: Minor error in BUILD file documentation
Product: ns-3 Reporter: Paul Vincent Craven <paul>
Component: build systemAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: P1    
Version: pre-release   
Hardware: Other   
OS: Linux   
Attachments: Suggested patch for the build documentation file

Description Paul Vincent Craven 2006-11-15 15:35:43 UTC
In the root file, the 'BUILD' documenation file contains the following line:
my_module = Ns3Module ('my', 'src/my_dir')
I believe the line intended is:
my_module = build.Ns3Module ('my', 'src/my_dir')

diff -r 7ad2664c9515 BUILD
--- a/BUILD     Mon Nov  6 13:25:35 2006
+++ b/BUILD     Wed Nov 15 14:34:08 2006
@@ -135,7 +135,7 @@
 # create a new module. First arg is the name of
 # the new module. Second arg is the directory in
 # which all source files for this module reside.
-my_module = Ns3Module ('my', 'src/my_dir')
+my_module = build.Ns3Module ('my', 'src/my_dir')
 # add it to build system
 ns3.add (my_module)
 # specify module dependencies. Here, depends
Comment 1 Paul Vincent Craven 2006-11-15 15:37:12 UTC
Created attachment 2 [details]
Suggested patch for the build documentation file
Comment 2 Mathieu Lacage 2006-11-16 06:05:55 UTC
applied patch.

thanks