Skip to content

Commit

Permalink
Makefile: cleanup old tarballs first
Browse files Browse the repository at this point in the history
Signed-off-by: Robin H. Johnson <[email protected]>
  • Loading branch information
robbat2 committed Nov 26, 2023
1 parent deb5b88 commit c4c8803
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 @@ -250,6 +250,7 @@ html:
packages:
@if [[ "$$(git diff | wc -l)" != "0" ]] ; then printf "\n\n\tYou have local changes in the working copy...\n\n\n" && git diff && false ; fi
@if [[ "$$(git rev-parse HEAD)" != "$$(git rev-parse v$(VERSION)^{commit})" ]] ; then printf "\n\n\tv$(VERSION) tag missing, or not checked out...\n\n\n" && false ; fi
rm -f radvd-$(VERSION).tar*
$(MAKE) dist-gzip
rm -rf radvd-$(VERSION)
tar zfx radvd-$(VERSION).tar.gz
Expand Down

0 comments on commit c4c8803

Please sign in to comment.