Skip to content

Commit a2e8e30

Browse files
committed
mk: Don't rm 'dist' during clean, just its contents
This is not for temporaries now
1 parent ba98689 commit a2e8e30

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mk/clean.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ clean-misc:
4343
$(Q)rm -f $(RUSTLLVM_LIB_OBJS) $(RUSTLLVM_OBJS_OBJS) $(RUSTLLVM_DEF)
4444
$(Q)rm -Rf $(GENERATED)
4545
$(Q)rm -Rf tmp/*
46-
$(Q)rm -Rf rust-stage0-*.tar.bz2 $(PKG_NAME)-*.tar.gz $(PKG_NAME)-*.exe dist
46+
$(Q)rm -Rf rust-stage0-*.tar.bz2 $(PKG_NAME)-*.tar.gz $(PKG_NAME)-*.exe
47+
$(Q)rm -Rf dist/*
4748
$(Q)rm -Rf doc
4849

4950
define CLEAN_GENERIC

0 commit comments

Comments
 (0)