diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-06-19 19:27:08 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-12-03 22:37:00 +0100 |
commit | 73dd987280fb078a08fe12a1572bdf9f9a5e09ea (patch) | |
tree | 8f7933f9edd0bf820d86b9bb577f7515d61cb7cd /doc | |
parent | 9e955f0a540ebe8763dd03dfec0fa40e9e2761a6 (diff) | |
download | ptxdist-73dd987280fb078a08fe12a1572bdf9f9a5e09ea.tar.gz ptxdist-73dd987280fb078a08fe12a1572bdf9f9a5e09ea.tar.xz |
docs: extract ptxdist version when building the documentation
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/conf.py (renamed from doc/conf.py.in) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/conf.py.in b/doc/conf.py index 3e6b2b4fb..33ccfe36f 100644 --- a/doc/conf.py.in +++ b/doc/conf.py @@ -53,9 +53,9 @@ copyright = u'2015, The Pengutronix Development Team' # The short X.Y version. import os -version = "@PACKAGE_VERSION@" +version = os.getenv("PTXDIST_VERSION_FULL") # The full version, including alpha/beta/rc tags. -release = "@PACKAGE_VERSION@" +release = version # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -113,9 +113,9 @@ rst_epilog = """ .. |ptxdistPlatformName| replace:: arm-qemu .. |ptxdistPlatformVariant| replace:: \ .. |ptxdistPlatformCollection| replace:: \ -.. |ptxdistVendorVersion| replace:: 2015.03.0 +.. |ptxdistVendorVersion| replace:: %s .. |package| replace:: <pagage> -""" +""" % os.getenv("PTXDIST_VERSION") # -- Options for HTML output ---------------------------------------------- |