diff options
author | Nikias Bassen | 2024-04-15 20:05:56 +0200 |
---|---|---|
committer | Nikias Bassen | 2024-04-15 20:05:56 +0200 |
commit | 0b73e02a2b9b50daeb95b63b39e9496c8899e33d (patch) | |
tree | 5728baa03d84a3ba8b79b610c115e381da430dae | |
parent | a91f5740d100414a76959714b819422ee5b2d8a8 (diff) | |
download | libplist-0b73e02a2b9b50daeb95b63b39e9496c8899e33d.tar.gz libplist-0b73e02a2b9b50daeb95b63b39e9496c8899e33d.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 f44a6bc..e6923a4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 |