diff options
author | 2024-04-16 16:43:14 +0200 | |
---|---|---|
committer | 2024-04-16 16:43:14 +0200 | |
commit | 617fb573ef9f92a19d6025926e0fbc94472e7197 (patch) | |
tree | 0435f7954482f463faaa36dbe6c2f06c00da5160 | |
parent | 2254dab893ec439f9a73235ea07194afa77399db (diff) | |
download | libirecovery-617fb573ef9f92a19d6025926e0fbc94472e7197.tar.gz libirecovery-617fb573ef9f92a19d6025926e0fbc94472e7197.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 6c48faf..80b0eae 100644 --- a/Makefile.am +++ b/Makefile.am | |||
@@ -7,6 +7,7 @@ EXTRA_DIST = \ | |||
7 | git-version-gen | 7 | git-version-gen |
8 | 8 | ||
9 | dist-hook: | 9 | dist-hook: |
10 | @if ! git diff --quiet; then echo "Uncommitted changes present; not releasing"; exit 1; fi | ||
10 | echo $(VERSION) > $(distdir)/.tarball-version | 11 | echo $(VERSION) > $(distdir)/.tarball-version |
11 | 12 | ||
12 | DISTCHECK_CONFIGURE_FLAGS = \ | 13 | DISTCHECK_CONFIGURE_FLAGS = \ |