Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add recipe to clean up temporary build artifacts #163

Merged
merged 1 commit into from
Oct 25, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion linux/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ BUILD_ARGS64_BUNDLED = $(BUILD_ARGS64) \
all: all64 ## Build all distribution tarballs [default]

.PHONY: all64
all64: compress64 ## Build distribution tarballs for 64 bits
all64: compress64 clean_tmp ## Build distribution tarballs for 64 bits

.PHONY: help
help: ## Show this help
Expand Down Expand Up @@ -112,3 +112,8 @@ $(OUTPUT_DIR)/%.xz: $(OUTPUT_DIR)/%
.PHONY: clean
clean: ## Clean up build directory
rm -Rf $(OUTPUT_DIR)

.PHONY: clean_tmp
clean_tmp: ## Clean up temporary build artifacts
rm -Rf $(OUTPUT_DIR)/bundled-libs.tar
rm -Rf $(OUTPUT_BASENAME64)-bundled