Commit fccfda06 authored by Leonidas Poulopoulos's avatar Leonidas Poulopoulos

Added version fetching from git tag in Makefile

parent 53b6f8a4
......@@ -3,7 +3,7 @@
# You can set these variables from the command line.
VERSION = "0.8"
VERSION = $(shell git describe --abbrev=0 | egrep -o '([0-9]+\.){1,10}[0-9]+')
SPHINXOPTS = -D version=$(VERSION) -D release=$(VERSION)
SPHINXBUILD = sphinx-build
PAPER =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment