diff --git a/python/sphinx_docs/Makefile b/python/sphinx_docs/Makefile index 9e4f874..5315d96 100644 --- a/python/sphinx_docs/Makefile +++ b/python/sphinx_docs/Makefile @@ -2,6 +2,6 @@ # Build the documentation locally for the current branch # NOTE: You need to commit your changes before running this command +CURRENT_BRANCH=$(shell git rev-parse --abbrev-ref HEAD) docs: - @CURRENT_BRANCH=$(shell git rev-parse --abbrev-ref HEAD) - sphinx-versioned -m $$CURRENT_BRANCH -b $$CURRENT_BRANCH --git-root ../../ \ No newline at end of file + sphinx-versioned -m ${CURRENT_BRANCH} -b ${CURRENT_BRANCH} --git-root ../../