Commit 79d47d47 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

release.mak: add dist hook to check that meson version is in sync

parent 60aeef68
......@@ -35,3 +35,11 @@ distcheck-hook:
find $(distdir) -name \*-enumtypes.[ch] | grep -v win32 && \
find $(distdir) -name \*-marshal.[ch] && \
false )
dist-hook:
@if test -f meson.build && ! $(GREP) -e "version.*'$(VERSION)'" meson.build >/dev/null ; then \
echo "*******************************************************"; \
echo "* meson.build needs to be updated for version $(VERSION)"; \
echo "*******************************************************"; \
false; \
fi
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