makefile: add a rule to clean up implements binary

Signed-off-by: John Mulligan <jmulligan@redhat.com>
This commit is contained in:
John Mulligan 2021-10-18 13:43:28 -04:00 committed by mergify[bot]
parent a1fbaf921a
commit dfba5f5bb0
1 changed files with 4 additions and 1 deletions

View File

@ -210,6 +210,9 @@ implements:
check-implements: implements
./implements $(IMPLEMENTS_OPTS) ./cephfs ./rados ./rbd
clean-implements:
$(RM) ./implements
api-check: implements-json
./contrib/apiage.py
@ -234,4 +237,4 @@ $(IMPLEMENTS_DIR)/implements.json: $(BUILDFILE)
# force_go_build is phony and builds nothing, can be used for forcing
# go toolchain commands to always run
.PHONY: build fmt test test-docker check test-binaries test-bins force_go_build check-implements api-check api-update api-doc implements-json
.PHONY: build fmt test test-docker check test-binaries test-bins force_go_build check-implements clean-implements api-check api-update api-doc implements-json