Skip to content

Commit

Permalink
ensure that commit_hash.h is included in the source tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
ksedgwic committed Oct 2, 2024
1 parent f014af3 commit 123da84
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ jobs:
- uses: cachix/install-nix-action@v22
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- run: nix develop --command bash -c "autoreconf -i && ./configure && make -j4 distcheck"
- run: nix develop --command bash -c "autoreconf -i && ./configure --disable-dependency-tracking && make -j4 distcheck"
5 changes: 5 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,11 @@ commit_hash.h: FORCE
echo "Using existing commit_hash.h"; \
fi

# Ensure that commit_hash.h is included in the source tarball.
dist-hook:
test -f commit_hash.h || $(MAKE) commit_hash.h
cp commit_hash.h $(distdir)/

FORCE:

.PHONY: FORCE
Expand Down

0 comments on commit 123da84

Please sign in to comment.