diff --git a/SConstruct b/SConstruct index e6372aac3..195f97b47 100644 --- a/SConstruct +++ b/SConstruct @@ -2,9 +2,13 @@ import os.path import build +version_file = open ('VERSION', 'r') +version = version_file.read (5) +version_file.close () + ns3 = build.Ns3() ns3.build_dir = 'build-dir' -ns3.version = '3.0.2' +ns3.version = version ns3.name = 'ns3' ns3.distname = 'ns' ns3.doxygen_config = os.path.join('doc', 'doxygen.conf') diff --git a/VERSION b/VERSION index cb2b00e4f..b50214693 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.0.1 +3.0.2