kbuild: docbook: include cmd files more simply
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Mon, 20 Jan 2014 05:10:10 +0000 (14:10 +0900)
committerMichal Marek <mmarek@suse.cz>
Fri, 14 Mar 2014 17:06:47 +0000 (18:06 +0100)
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Documentation/DocBook/Makefile

index 0f9c6ff41aac5206eb470ef07d68553d067022f0..105ba8e217775ccc2b8081f5da7046112524a0f4 100644 (file)
@@ -36,6 +36,7 @@ PS_METHOD     = $(prefer-db2x)
 # The targets that may be used.
 PHONY += xmldocs sgmldocs psdocs pdfdocs htmldocs mandocs installmandocs cleandocs
 
+targets += $(DOCBOOKS)
 BOOKS := $(addprefix $(obj)/,$(DOCBOOKS))
 xmldocs: $(BOOKS)
 sgmldocs: xmldocs
@@ -90,14 +91,6 @@ endef
 %.xml: %.tmpl FORCE
        $(call if_changed_rule,docproc)
 
-###
-#Read in all saved dependency files
-cmd_files := $(wildcard $(foreach f,$(BOOKS),$(dir $(f)).$(notdir $(f)).cmd))
-
-ifneq ($(cmd_files),)
-  include $(cmd_files)
-endif
-
 ###
 # Changes in kernel-doc force a rebuild of all documentation
 $(BOOKS): $(KERNELDOC)