Commit c7b86f6c authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Makefile: Stricter checks for release distchecks

This should avoid cases like commit f64de30f

 where the release
date was forgotten from NEWS.
Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarIustin Pop <>
parent c4da9eaf
......@@ -725,6 +725,15 @@ distcheck-hook:
echo "Found backup files in final archive." 1>&2; \
exit 1; \
if test -n "$(BUILD_RELEASE)" && \
grep -n -H -E '^\*.*unreleased' $(top_distdir)/NEWS; then \
echo "Found unreleased version in NEWS." >&2; \
exit 1; \
# When building a release, stricter checks should be used
distcheck-release: export BUILD_RELEASE = 1
distcheck-release: distcheck
@mkdir_p@ "$(DESTDIR)${localstatedir}/lib/ganeti" \
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