From d5114fa1a053e23f5f7658dfd633dd6f6001f78c Mon Sep 17 00:00:00 2001 From: Michael Hanselmann <hansmi@google.com> Date: Fri, 29 Jul 2011 10:18:30 +0200 Subject: [PATCH] Include hooks.rst in version check Signed-off-by: Michael Hanselmann <hansmi@google.com> Reviewed-by: Iustin Pop <iustin@google.com> --- Makefile.am | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Makefile.am b/Makefile.am index 9ec8c67c8..719c14fe4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1041,11 +1041,13 @@ check-local: check-dirs 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 + for file in doc/iallocator.rst doc/hooks.rst; do \ + if test "`sed -ne '4 p' $(top_srcdir)/$$file`" != \ + "Documents Ganeti version $$expver"; then \ + echo "Incorrect version in $$file, expected $$expver"; \ + exit 1; \ + fi; \ + done .PHONY: hs-check hs-check: htools/test -- GitLab