Clean up generated beauty directory.

Suggested-by: Arnaldo Carvalho de Melo <a...@kernel.org>
Signed-off-by: Andreas Wendleder <andreas.wendle...@gmail.com>
---
 tools/perf/Makefile.perf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf
index 5345ac70cd83..293e297f719d 100644
--- a/tools/perf/Makefile.perf
+++ b/tools/perf/Makefile.perf
@@ -1087,6 +1087,7 @@ clean:: $(LIBTRACEEVENT)-clean $(LIBAPI)-clean 
$(LIBBPF)-clean $(LIBSUBCMD)-clea
                $(OUTPUT)$(sync_file_range_arrays)
        $(call QUIET_CLEAN, Documentation) \
        $(MAKE) -C $(DOC_DIR) O=$(OUTPUT) clean >/dev/null
+       $(call QUIET_CLEAN, beauty) $(RM) -r $(beauty_outdir)
 
 #
 # To provide FEATURE-DUMP into $(FEATURE_DUMP_COPY)
-- 
2.27.0

Reply via email to