summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2024-04-16 16:46:09 +0200
committerGravatar Nikias Bassen2024-04-16 16:46:09 +0200
commit5f083426b4ede24b2576f3a56eaf8ac3632c02f7 (patch)
tree21747976915443e6c2fd2b4995b8177d484900c6
parent3969bc93e05e0f1f50175cd99b8ecabfd0ba6009 (diff)
downloadlibimobiledevice-master.tar.gz
libimobiledevice-master.tar.bz2
automake: Prevent `dist` or `distcheck` when uncommitted changes are presentHEADmaster
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index b11de57..352b28f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -8,6 +8,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)/src/*.c $(top_srcdir)/src/*.h $(top_srcdir)/include/libimobiledevice/*.h