From 20634ca9806a269e037c30c6bc4846f1d59b273a Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Tue, 18 Aug 2020 15:56:10 -0700 Subject: [PATCH] doc: Update build version information in tutorial --- doc/tutorial/source/getting-started.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/tutorial/source/getting-started.rst b/doc/tutorial/source/getting-started.rst index e9530a284..a7e668026 100644 --- a/doc/tutorial/source/getting-started.rst +++ b/doc/tutorial/source/getting-started.rst @@ -1258,3 +1258,13 @@ option which will print the full build version and exit. Waf: Entering directory `/g/g14/mdb/gitlab/mdb/ns-3-dev/build/debug' ns-3.31+28@gce1eb40-dirty-debug +If information about the build version is absent from the ns-3 directory, +the build system will print out a dummy build version such as follows: + +.. sourcecode:: text + + $ ./waf --check-version + ns-3.xx@gxxxxxxx-debug + +An example situation that may lead to the lack of version information is +if the ns-3 repository is cloned as a git shallow clone.