summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--docs/src/conf.py5
2 files changed, 4 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index c6b323d..0da3bc4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright 2018 Jonathan Ribas, FraudBuster. All rights reserved.
-AC_INIT([dpdk-replay], 1.0.0)
+AC_INIT([dpdk-burst-replay], 1.0.0)
AC_PREREQ([2.59])
AC_DEFINE_UNQUOTED([DPDK_REPLAY_VERSION_GIT], ["`git rev-parse HEAD`"], [current version])
diff --git a/docs/src/conf.py b/docs/src/conf.py
index 874b04a..f0e44d6 100644
--- a/docs/src/conf.py
+++ b/docs/src/conf.py
@@ -60,9 +60,10 @@ author = 'Jonathan Ribas'
# built documents.
#
# The short X.Y version.
-version = '1.0.0'
+import subprocess
+version = subprocess.check_output("grep AC_INIT ../../configure.ac|sed 's/.*, *//'|tr -d ')'", shell=True)
# The full version, including alpha/beta/rc tags.
-release = '1.0.0'
+release = version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.