diff mbox

[1/2] kbuild: docbook: include cmd files more simply

Message ID 1390194611-15102-1-git-send-email-yamada.m@jp.panasonic.com (mailing list archive)
State New, archived
Headers show

Commit Message

Masahiro Yamada Jan. 20, 2014, 5:10 a.m. UTC
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
---
 Documentation/DocBook/Makefile | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

Comments

Michal Marek March 14, 2014, 5:10 p.m. UTC | #1
On Mon, Jan 20, 2014 at 02:10:10PM +0900, Masahiro Yamada wrote:
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
> ---
>  Documentation/DocBook/Makefile | 9 +--------
>  1 file changed, 1 insertion(+), 8 deletions(-)

Applied to kbuild.git#kbuild, thanks.

Michal
> 
> diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile
> index 6ea50a3..237f6dc 100644
> --- a/Documentation/DocBook/Makefile
> +++ b/Documentation/DocBook/Makefile
> @@ -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
>  	$(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)
>  
> -- 
> 1.8.3.2
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile
index 6ea50a3..237f6dc 100644
--- a/Documentation/DocBook/Makefile
+++ b/Documentation/DocBook/Makefile
@@ -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
 	$(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)