make wipe: Clean up *.api.json files.
[vpp.git] / Makefile
index 068f73d..6bc871c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -360,6 +360,7 @@ wipedist:
 
 wipe: wipedist test-wipe $(BR)/.deps.ok
        $(call make,$(PLATFORM)_debug,$(addsuffix -wipe,$(TARGETS)))
+       @find . -type f -name "*.api.json" ! -path "./test/*" -exec rm {} \;
 
 rebuild: wipe build