mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-31 17:12:53 +00:00
Fix the dist target to include Much Less Junk from llvm (notably not .git!)
This commit is contained in:
parent
882bea5b6d
commit
5378d5185e
12
mk/dist.mk
12
mk/dist.mk
@ -49,7 +49,17 @@ $(PKG_TAR): $(PKG_FILES)
|
||||
@$(call E, making dist dir)
|
||||
$(Q)rm -Rf dist
|
||||
$(Q)mkdir -p dist/$(PKG_DIR)
|
||||
$(Q)tar -C $(S) -c $(UNROOTED_PKG_FILES) | tar -x -C dist/$(PKG_DIR)
|
||||
$(Q)tar \
|
||||
-C $(S) \
|
||||
--exclude-vcs \
|
||||
--exclude=*~ \
|
||||
--exclude=*/llvm/test/*/*.ll \
|
||||
--exclude=*/llvm/test/*/*.td \
|
||||
--exclude=*/llvm/test/*/*.s \
|
||||
--exclude=*/llvm/test/*/*/*.ll \
|
||||
--exclude=*/llvm/test/*/*/*.td \
|
||||
--exclude=*/llvm/test/*/*/*.s \
|
||||
-c $(UNROOTED_PKG_FILES) | tar -x -C dist/$(PKG_DIR)
|
||||
$(Q)tar -czf $(PKG_TAR) -C dist $(PKG_DIR)
|
||||
$(Q)rm -Rf dist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user