Makefile: allow make release to be run twice in a row

We recently fixed a problem with the macOS target to make it possible to
build a second time after running "make release", but we forgot a
Windows target as well.  Let's make it possible to run that command
twice in a row.
This commit is contained in:
brian m. carlson 2020-12-11 17:33:00 +00:00
parent 6bcb1d10f6
commit a710c9c776
No known key found for this signature in database
GPG Key ID: 2D0C9BC12F82B3A1

@ -332,6 +332,7 @@ $(RELEASE_INCLUDES) bin/git-lfs-darwin-% script/install.sh
# CRLF in the non-binary components of the artifact. # CRLF in the non-binary components of the artifact.
bin/releases/git-lfs-windows-%-$(VERSION).zip : $(RELEASE_INCLUDES) bin/git-lfs-windows-%.exe bin/releases/git-lfs-windows-%-$(VERSION).zip : $(RELEASE_INCLUDES) bin/git-lfs-windows-%.exe
@mkdir -p bin/releases @mkdir -p bin/releases
rm -f $@
zip -j -l $@ $^ zip -j -l $@ $^
zip -u $@ man/* zip -u $@ man/*