summaryrefslogtreecommitdiffstats
path: root/tools/perf/Documentation/Makefile
diff options
context:
space:
mode:
authorNamhyung Kim2012-11-14 05:39:50 +0100
committerArnaldo Carvalho de Melo2012-12-09 12:46:04 +0100
commit3cde41b0d63d0550ac9c8352f1ce0ea516690f46 (patch)
treec64f86746e0f88b220266046de3b912a0fc86e97 /tools/perf/Documentation/Makefile
parentperf ui/helpline: Introduce ui_helpline__vshow() (diff)
downloadkernel-qcow2-linux-3cde41b0d63d0550ac9c8352f1ce0ea516690f46.tar.gz
kernel-qcow2-linux-3cde41b0d63d0550ac9c8352f1ce0ea516690f46.tar.xz
kernel-qcow2-linux-3cde41b0d63d0550ac9c8352f1ce0ea516690f46.zip
perf tools: Don't check configuration on make clean
Current perf build process checks various system configuration on invocation to make. But this is not needed just for cleaning. To do that, move some of python related variables out of conditional since 'clean' target needs them. Normal path should not be affected by this. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Cc: Ingo Molnar <mingo@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1352867990-658-1-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation/Makefile')
-rw-r--r--tools/perf/Documentation/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/Documentation/Makefile b/tools/perf/Documentation/Makefile
index ef6d22e879eb..f6e5901c8f5f 100644
--- a/tools/perf/Documentation/Makefile
+++ b/tools/perf/Documentation/Makefile
@@ -222,10 +222,12 @@ install-pdf: pdf
#install-html: html
# '$(SHELL_PATH_SQ)' ./install-webdoc.sh $(DESTDIR)$(htmldir)
+ifneq ($(MAKECMDGOALS),clean)
$(OUTPUT)PERF-VERSION-FILE: .FORCE-PERF-VERSION-FILE
$(QUIET_SUBDIR0)../ $(QUIET_SUBDIR1) $(OUTPUT)PERF-VERSION-FILE
-include $(OUTPUT)PERF-VERSION-FILE
+endif
#
# Determine "include::" file references in asciidoc files.