diff options
author | Nikias Bassen | 2024-04-16 16:46:09 +0200 |
---|---|---|
committer | Nikias Bassen | 2024-04-16 16:46:09 +0200 |
commit | 5f083426b4ede24b2576f3a56eaf8ac3632c02f7 (patch) | |
tree | 21747976915443e6c2fd2b4995b8177d484900c6 | |
parent | 3969bc93e05e0f1f50175cd99b8ecabfd0ba6009 (diff) | |
download | libimobiledevice-5f083426b4ede24b2576f3a56eaf8ac3632c02f7.tar.gz libimobiledevice-5f083426b4ede24b2576f3a56eaf8ac3632c02f7.tar.bz2 |
automake: Prevent `dist` or `distcheck` when uncommitted changes are present
-rw-r--r-- | Makefile.am | 1 |
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 |