Skip to content

Commit

Permalink
automake: Prevent dist or distcheck when uncommitted changes are …
Browse files Browse the repository at this point in the history
…present
  • Loading branch information
nikias committed Apr 15, 2024
1 parent a91f574 commit 0b73e02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b73e02

Please sign in to comment.