aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung.kim@lge.com>2012-10-26 04:55:49 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-10-26 09:22:24 -0400
commit536e2b0fc2af42a464ea6eb6b67a2c754e14f2e2 (patch)
tree3dd4f0e082304012b6051d6518832cf9967e1d6d /tools
parentb6f4f804108bd563070ab95199cbddcf7650cbf4 (diff)
perf tools: Cleanup doc related targets
Documentation targets handling rules are duplicate. Consolidate them with DOC_TARGETS and INSTALL_DOC_TARGETS. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Cc: Borislav Petkov <bp@amd64.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/1351241752-2919-2-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/Makefile46
1 files changed, 9 insertions, 37 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index b14eeb86d8d7..5cf40cbdaaf9 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -977,20 +977,15 @@ help:
977 @echo 'Perf maintainer targets:' 977 @echo 'Perf maintainer targets:'
978 @echo ' clean - clean all binary objects and build output' 978 @echo ' clean - clean all binary objects and build output'
979 979
980doc:
981 $(MAKE) -C Documentation all
982 980
983man: 981DOC_TARGETS := doc man html info pdf
984 $(MAKE) -C Documentation man
985 982
986html: 983INSTALL_DOC_TARGETS := $(patsubst %,install-%,$(DOC_TARGETS)) try-install-man
987 $(MAKE) -C Documentation html 984INSTALL_DOC_TARGETS += quick-install-doc quick-install-man quick-install-html
988 985
989info: 986# 'make doc' should call 'make -C Documentation all'
990 $(MAKE) -C Documentation info 987$(DOC_TARGETS):
991 988 $(MAKE) -C Documentation $(@:doc=all)
992pdf:
993 $(MAKE) -C Documentation pdf
994 989
995TAGS: 990TAGS:
996 $(RM) TAGS 991 $(RM) TAGS
@@ -1061,32 +1056,9 @@ install: all try-install-man
1061install-python_ext: 1056install-python_ext:
1062 $(PYTHON_WORD) util/setup.py --quiet install --root='/$(DESTDIR_SQ)' 1057 $(PYTHON_WORD) util/setup.py --quiet install --root='/$(DESTDIR_SQ)'
1063 1058
1064install-doc: 1059# 'make install-doc' should call 'make -C Documentation install'
1065 $(MAKE) -C Documentation install 1060$(INSTALL_DOC_TARGETS):
1066 1061 $(MAKE) -C Documentation $(@:-doc=)
1067install-man:
1068 $(MAKE) -C Documentation install-man
1069
1070try-install-man:
1071 $(MAKE) -C Documentation try-install-man
1072
1073install-html:
1074 $(MAKE) -C Documentation install-html
1075
1076install-info:
1077 $(MAKE) -C Documentation install-info
1078
1079install-pdf:
1080 $(MAKE) -C Documentation install-pdf
1081
1082quick-install-doc:
1083 $(MAKE) -C Documentation quick-install
1084
1085quick-install-man:
1086 $(MAKE) -C Documentation quick-install-man
1087
1088quick-install-html:
1089 $(MAKE) -C Documentation quick-install-html
1090 1062
1091### Cleaning rules 1063### Cleaning rules
1092 1064