diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-01-20 00:10:10 -0500 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2014-03-14 13:06:47 -0400 |
commit | 6f89b9c1d6b29eaa600ac4a8ac1314b0d06f15e3 (patch) | |
tree | 1f757ada31cf199e01fa409f4c54d5a6c40c4a08 /Documentation/DocBook | |
parent | bfdfaeae500a3b194b73b01e92a8034791a58b7f (diff) |
kbuild: docbook: include cmd files more simply
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'Documentation/DocBook')
-rw-r--r-- | Documentation/DocBook/Makefile | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile index 0f9c6ff41aac..105ba8e21777 100644 --- a/Documentation/DocBook/Makefile +++ b/Documentation/DocBook/Makefile | |||
@@ -36,6 +36,7 @@ PS_METHOD = $(prefer-db2x) | |||
36 | # The targets that may be used. | 36 | # The targets that may be used. |
37 | PHONY += xmldocs sgmldocs psdocs pdfdocs htmldocs mandocs installmandocs cleandocs | 37 | PHONY += xmldocs sgmldocs psdocs pdfdocs htmldocs mandocs installmandocs cleandocs |
38 | 38 | ||
39 | targets += $(DOCBOOKS) | ||
39 | BOOKS := $(addprefix $(obj)/,$(DOCBOOKS)) | 40 | BOOKS := $(addprefix $(obj)/,$(DOCBOOKS)) |
40 | xmldocs: $(BOOKS) | 41 | xmldocs: $(BOOKS) |
41 | sgmldocs: xmldocs | 42 | sgmldocs: xmldocs |
@@ -91,14 +92,6 @@ endef | |||
91 | $(call if_changed_rule,docproc) | 92 | $(call if_changed_rule,docproc) |
92 | 93 | ||
93 | ### | 94 | ### |
94 | #Read in all saved dependency files | ||
95 | cmd_files := $(wildcard $(foreach f,$(BOOKS),$(dir $(f)).$(notdir $(f)).cmd)) | ||
96 | |||
97 | ifneq ($(cmd_files),) | ||
98 | include $(cmd_files) | ||
99 | endif | ||
100 | |||
101 | ### | ||
102 | # Changes in kernel-doc force a rebuild of all documentation | 95 | # Changes in kernel-doc force a rebuild of all documentation |
103 | $(BOOKS): $(KERNELDOC) | 96 | $(BOOKS): $(KERNELDOC) |
104 | 97 | ||