Don't ask … all I say is distcheck.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
check-local: check-dirs
$(CHECK_PYTHON_CODE) $(check_python_code)
- $(CHECK_VERSION) $(VERSION)
+ $(CHECK_VERSION) $(VERSION) $(top_srcdir)/NEWS
.PHONY: lint
lint: ganeti $(BUILT_SOURCES)
shopt -s extglob
readonly version=$1
+readonly newsfile=$2
readonly numpat='+([0-9])'
case "$version" in
readonly newsver="Version ${version/~/}"
-if ! grep -q -x "$newsver" NEWS
+if ! grep -q -x "$newsver" $newsfile
then
echo "Unable to find heading '$newsver' in NEWS" >&2
exit 1