aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/DocBook/Makefile')
-rw-r--r--Documentation/DocBook/Makefile9
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.
37PHONY += xmldocs sgmldocs psdocs pdfdocs htmldocs mandocs installmandocs cleandocs 37PHONY += xmldocs sgmldocs psdocs pdfdocs htmldocs mandocs installmandocs cleandocs
38 38
39targets += $(DOCBOOKS)
39BOOKS := $(addprefix $(obj)/,$(DOCBOOKS)) 40BOOKS := $(addprefix $(obj)/,$(DOCBOOKS))
40xmldocs: $(BOOKS) 41xmldocs: $(BOOKS)
41sgmldocs: xmldocs 42sgmldocs: 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
95cmd_files := $(wildcard $(foreach f,$(BOOKS),$(dir $(f)).$(notdir $(f)).cmd))
96
97ifneq ($(cmd_files),)
98 include $(cmd_files)
99endif
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