Commit 7ecb3d0e authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Makefile: Add version check for iallocator.rst



iallocator.rst contains the Ganeti version at the top.
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 25ee7fd8
......@@ -992,6 +992,11 @@ check-local: check-dirs
if test "`head -n 1 $(top_srcdir)/README`" != "Ganeti $$expver"; then \
echo "Incorrect version in README, expected $$expver"; \
exit 1; \
fi; \
if test "`sed -ne '4 p' $(top_srcdir)/doc/iallocator.rst`" != \
"Documents Ganeti version $$expver"; then \
echo "Incorrect version in iallocator.rst, expected $$expver"; \
exit 1; \
fi
.PHONY: hs-check
......
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