From 04c998a5aeaa9154253011b2176d31d0345fd955 Mon Sep 17 00:00:00 2001
From: Michael Hanselmann <hansmi@google.com>
Date: Fri, 12 Oct 2012 15:05:41 +0200
Subject: [PATCH] Makefile: Verify version of security.rst document

This document should be kept up-to-date.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
---
 Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 4452f42a7..66a8b3736 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1418,7 +1418,8 @@ check-local: check-dirs $(GENERATED_FILES)
 		echo "Incorrect version in README, expected $$expver"; \
 		exit 1; \
 	fi; \
-	for file in doc/iallocator.rst doc/hooks.rst doc/virtual-cluster.rst; do \
+	for file in doc/iallocator.rst doc/hooks.rst doc/virtual-cluster.rst \
+			doc/security.rst; do \
 		if test "`sed -ne '4 p' $(top_srcdir)/$$file`" != \
 			"Documents Ganeti version $$expver"; then \
 			echo "Incorrect version in $$file, expected $$expver"; \
-- 
GitLab