automake: Prevent dist or distcheck when uncommitted changes are present

This commit is contained in:
Nikias Bassen
2024-04-15 20:05:56 +02:00
parent a91f5740d1
commit 0b73e02a2b
+1
View File
@@ -19,6 +19,7 @@ EXTRA_DIST = \
git-version-gen
dist-hook:
@if ! git diff --quiet; then echo "Uncommitted changes present; not releasing"; exit 1; fi
echo $(VERSION) > $(distdir)/.tarball-version
docs/html: $(top_builddir)/doxygen.cfg $(top_srcdir)/include/plist/*.h