Skip to content

Commit 3cdd1d6

Browse files
committed
update Makefile
1 parent 56696be commit 3cdd1d6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,12 @@ gen_batfiles: .FORCE
211211
@echo '""' >>make.bat
212212
@git add make.bat
213213

214+
clean_dist: .FORCE
215+
if [ -d dist ]; then rm -fR dist; fi
216+
214217
snap: dist/datatools_$(VERSION)_amd64.snap
215218

216-
release: .FORCE installer.sh clean build man gen_batfiles distribute_docs dist/Linux-x86_64 dist/macOS-x86_64 dist/macOS-arm64 dist/Windows-x86_64 dist/Windows-arm64 dist/Linux-armv7l dist/Linux-aarch64
219+
release: .FORCE installer.sh clean build man gen_batfiles distribute_docs clean_dist dist/Linux-x86_64 dist/macOS-x86_64 dist/macOS-arm64 dist/Windows-x86_64 dist/Windows-arm64 dist/Linux-armv7l dist/Linux-aarch64
217220

218221

219222
.FORCE:

0 commit comments

Comments
 (0)