Bug 5 - Minor error in BUILD file documentation
Minor error in BUILD file documentation
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: build system
pre-release
Other Linux
: P1 trivial
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-11-15 15:35 UTC by Paul Vincent Craven
Modified: 2006-11-16 06:05 UTC (History)
0 users

See Also:


Attachments
Suggested patch for the build documentation file (457 bytes, patch)
2006-11-15 15:37 UTC, Paul Vincent Craven
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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