Revision a5b0694f

b/Makefile.am
1491 1491
	$(CHECK_NEWS) < $(top_srcdir)/NEWS
1492 1492
	PYTHONPATH=. $(RUN_IN_TEMPDIR) $(CURDIR)/$(CHECK_IMPORTS) . $(standalone_python_modules)
1493 1493
	@expver=$(VERSION_MAJOR).$(VERSION_MINOR); \
1494
	error= ; \
1494 1495
	if test "`head -n 1 $(top_srcdir)/README`" != "Ganeti $$expver"; then \
1495
	  echo "Incorrect version in README, expected $$expver"; \
1496
	  exit 1; \
1496
	  echo "Incorrect version in README, expected $$expver" >&2; \
1497
	  error=1; \
1497 1498
	fi; \
1498 1499
	for file in doc/iallocator.rst doc/hooks.rst doc/virtual-cluster.rst \
1499 1500
	    doc/security.rst; do \
1500 1501
	  if test "`sed -ne '4 p' $(top_srcdir)/$$file`" != \
1501 1502
	    "Documents Ganeti version $$expver"; then \
1502
	    echo "Incorrect version in $$file, expected $$expver"; \
1503
	    exit 1; \
1503
	    echo "Incorrect version in $$file, expected $$expver" >&2; \
1504
	    error=1; \
1504 1505
	  fi; \
1505 1506
	done; \
1506 1507
	if ! test -f $(top_srcdir)/doc/design-$$expver.rst; then \
1507
	  echo "File $(top_srcdir)/doc/design-$$expver.rst not found"; \
1508
	  exit 1; \
1508
	  echo "File $(top_srcdir)/doc/design-$$expver.rst not found" >&2; \
1509
	  error=1; \
1509 1510
	fi; \
1510
	error= ; \
1511 1511
	for file in configure.ac $(HS_LIBTEST_SRCS) $(HS_PROG_SRCS); do \
1512 1512
	  if test $$(wc --max-line-length < $(top_srcdir)/$$file) -gt 80; then \
1513 1513
	    echo "Longest line in $$file is longer than 80 characters" >&2; \

Also available in: Unified diff