mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-22 11:13:22 +00:00
Makefile: Do not error out on "make clean"
"make clean" errors out if snap/snapcraft.yaml file does not exsist and the recipe for target 'clean' fails. Avoid this my adding a "-f" option to rm to have a clean state. Fixes: #187 Signed-off-by: Nitesh Konkar niteshkonkar@in.ibm.com
This commit is contained in:
parent
f66ecea9ec
commit
9575f771aa
2
Makefile
2
Makefile
@ -63,7 +63,7 @@ snap-xbuild:
|
|||||||
cd $(MK_DIR)/snap-build; ./xbuild.sh -a all
|
cd $(MK_DIR)/snap-build; ./xbuild.sh -a all
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm $(SNAPCRAFT_FILE)
|
rm -f $(SNAPCRAFT_FILE)
|
||||||
|
|
||||||
.PHONY: test test-release-tools test-static-build test-packaging-tools snap clean \
|
.PHONY: test test-release-tools test-static-build test-packaging-tools snap clean \
|
||||||
$(VERSION_FILE) $(VERSIONS_YAML_FILE)
|
$(VERSION_FILE) $(VERSIONS_YAML_FILE)
|
||||||
|
Loading…
Reference in New Issue
Block a user