mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-17 06:14:26 +01:00
runtime(-rs): add clean-generated-files target
The new clean-generated-files make target allows for removing the generated files (including the configuration.toml files). The tools/packaging/static-build/shim-v2/build.sh script now uses that target to always force the re-generation of those files. Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
This commit is contained in:
@@ -879,15 +879,16 @@ vendor: handle_vendor
|
||||
|
||||
static-checks-build: $(GENERATED_FILES)
|
||||
|
||||
clean:
|
||||
clean: clean-generated-files
|
||||
$(QUIET_CLEAN)rm -f \
|
||||
$(CONFIGS) \
|
||||
$(GENERATED_FILES) \
|
||||
$(MONITOR) \
|
||||
$(SHIMV2) \
|
||||
$(TARGET) \
|
||||
.git-commit .git-commit.tmp
|
||||
|
||||
clean-generated-files:
|
||||
$(QUIET_CLEAN)rm -f $(GENERATED_FILES)
|
||||
|
||||
show-usage: show-header
|
||||
@printf "• Overview:\n"
|
||||
@printf "\n"
|
||||
@@ -904,6 +905,7 @@ show-usage: show-header
|
||||
@printf "\tfast-test : run tests with failfast option.\n"
|
||||
@printf "\tcheck : run code checks.\n"
|
||||
@printf "\tclean : remove built files.\n"
|
||||
@printf "\tclean-generated-files : remove generated files.\n"
|
||||
@printf "\tcontainerd-shim-v2 : only build containerd shim v2.\n"
|
||||
@printf "\tcoverage : run coverage tests.\n"
|
||||
@printf "\tdefault : same as 'make build' (or just 'make').\n"
|
||||
|
||||
Reference in New Issue
Block a user