diff --git a/Makefile b/Makefile index 74b774db..f1cfc21d 100644 --- a/Makefile +++ b/Makefile @@ -662,7 +662,9 @@ $(DIST_DIR)/tyrutils-$(TYR_VERSION_NUM)-win32.zip: $(DIST_FILES_WIN32) quiet_cmd_git_archive = ' GIT-ARCV $@' cmd_git_archive = \ - git archive --format=tar --prefix=tyrutils-$(TYR_VERSION_NUM)/ HEAD > $@ + git archive --format=tar --prefix=tyrutils-$(TYR_VERSION_NUM)/ HEAD \ + > $(@D)/.$(@F).tmp && \ + mv $(@D)/.$(@F).tmp $@ define do_git_archive $(do_mkdir)