mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
b6f4f80410
commit
536e2b0fc2
|
@ -977,20 +977,15 @@ help:
|
||||||
@echo 'Perf maintainer targets:'
|
@echo 'Perf maintainer targets:'
|
||||||
@echo ' clean - clean all binary objects and build output'
|
@echo ' clean - clean all binary objects and build output'
|
||||||
|
|
||||||
doc:
|
|
||||||
$(MAKE) -C Documentation all
|
|
||||||
|
|
||||||
man:
|
DOC_TARGETS := doc man html info pdf
|
||||||
$(MAKE) -C Documentation man
|
|
||||||
|
|
||||||
html:
|
INSTALL_DOC_TARGETS := $(patsubst %,install-%,$(DOC_TARGETS)) try-install-man
|
||||||
$(MAKE) -C Documentation html
|
INSTALL_DOC_TARGETS += quick-install-doc quick-install-man quick-install-html
|
||||||
|
|
||||||
info:
|
# 'make doc' should call 'make -C Documentation all'
|
||||||
$(MAKE) -C Documentation info
|
$(DOC_TARGETS):
|
||||||
|
$(MAKE) -C Documentation $(@:doc=all)
|
||||||
pdf:
|
|
||||||
$(MAKE) -C Documentation pdf
|
|
||||||
|
|
||||||
TAGS:
|
TAGS:
|
||||||
$(RM) TAGS
|
$(RM) TAGS
|
||||||
|
@ -1061,32 +1056,9 @@ install: all try-install-man
|
||||||
install-python_ext:
|
install-python_ext:
|
||||||
$(PYTHON_WORD) util/setup.py --quiet install --root='/$(DESTDIR_SQ)'
|
$(PYTHON_WORD) util/setup.py --quiet install --root='/$(DESTDIR_SQ)'
|
||||||
|
|
||||||
install-doc:
|
# 'make install-doc' should call 'make -C Documentation install'
|
||||||
$(MAKE) -C Documentation install
|
$(INSTALL_DOC_TARGETS):
|
||||||
|
$(MAKE) -C Documentation $(@:-doc=)
|
||||||
install-man:
|
|
||||||
$(MAKE) -C Documentation install-man
|
|
||||||
|
|
||||||
try-install-man:
|
|
||||||
$(MAKE) -C Documentation try-install-man
|
|
||||||
|
|
||||||
install-html:
|
|
||||||
$(MAKE) -C Documentation install-html
|
|
||||||
|
|
||||||
install-info:
|
|
||||||
$(MAKE) -C Documentation install-info
|
|
||||||
|
|
||||||
install-pdf:
|
|
||||||
$(MAKE) -C Documentation install-pdf
|
|
||||||
|
|
||||||
quick-install-doc:
|
|
||||||
$(MAKE) -C Documentation quick-install
|
|
||||||
|
|
||||||
quick-install-man:
|
|
||||||
$(MAKE) -C Documentation quick-install-man
|
|
||||||
|
|
||||||
quick-install-html:
|
|
||||||
$(MAKE) -C Documentation quick-install-html
|
|
||||||
|
|
||||||
### Cleaning rules
|
### Cleaning rules
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue