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 /Makefile.in | |
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 'Makefile.in')
-rw-r--r-- | Makefile.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index d94d3fab8..7ca79d3b6 100644 --- a/Makefile.in +++ b/Makefile.in @@ -136,4 +136,7 @@ release: SPHINXBUILD = @SPHINX@ docs: - @$(SPHINXBUILD) -b html -d ./Documentation ./doc ./Documentation/html + @. scripts/ptxdist_version.sh && \ + export PTXDIST_VERSION_FULL && \ + export PTXDIST_VERSION="$${PTXDIST_VERSION_YEAR}.$${PTXDIST_VERSION_MONTH}.$${PTXDIST_VERSION_BUGFIX}" && \ + $(SPHINXBUILD) -b html -d ./Documentation ./doc ./Documentation/html |