Skip to content

Commit 6f89b9c

Browse files
masahir0ymichal42
authored andcommitted
kbuild: docbook: include cmd files more simply
Signed-off-by: Masahiro Yamada <[email protected]> Signed-off-by: Michal Marek <[email protected]>
1 parent bfdfaea commit 6f89b9c

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

Documentation/DocBook/Makefile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ PS_METHOD = $(prefer-db2x)
3636
# The targets that may be used.
3737
PHONY += xmldocs sgmldocs psdocs pdfdocs htmldocs mandocs installmandocs cleandocs
3838

39+
targets += $(DOCBOOKS)
3940
BOOKS := $(addprefix $(obj)/,$(DOCBOOKS))
4041
xmldocs: $(BOOKS)
4142
sgmldocs: xmldocs
@@ -90,14 +91,6 @@ endef
9091
%.xml: %.tmpl FORCE
9192
$(call if_changed_rule,docproc)
9293

93-
###
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-
10194
###
10295
# Changes in kernel-doc force a rebuild of all documentation
10396
$(BOOKS): $(KERNELDOC)

0 commit comments

Comments
 (0)