diff mbox series

kbuild: remove unneeded dependency for $(DOC_TARGETS)

Message ID 20190821173321.15012-1-yamada.masahiro@socionext.com (mailing list archive)
State New, archived
Headers show
Series kbuild: remove unneeded dependency for $(DOC_TARGETS) | expand

Commit Message

Masahiro Yamada Aug. 21, 2019, 5:33 p.m. UTC
Commit 415008af3219 ("docs-rst: convert lsm from DocBook to ReST")
stopped using if_changed_rule. No more users of if_changed* for the
doc targets. Hence, fixdep is unneeded. Remove the dependency on
scripts_basic.

All the doc targets are phony. Depending on FORCE is odd.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---

 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Masahiro Yamada Aug. 28, 2019, 4:42 p.m. UTC | #1
On Thu, Aug 22, 2019 at 2:33 AM Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
>
> Commit 415008af3219 ("docs-rst: convert lsm from DocBook to ReST")
> stopped using if_changed_rule. No more users of if_changed* for the
> doc targets. Hence, fixdep is unneeded. Remove the dependency on
> scripts_basic.
>
> All the doc targets are phony. Depending on FORCE is odd.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---

Applied to linux-kbuild.


>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index c0be1a4dbfdd..7e54a821b4b0 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1578,7 +1578,7 @@ $(help-board-dirs): help-%:
>  DOC_TARGETS := xmldocs latexdocs pdfdocs htmldocs epubdocs cleandocs \
>                linkcheckdocs dochelp refcheckdocs
>  PHONY += $(DOC_TARGETS)
> -$(DOC_TARGETS): scripts_basic FORCE
> +$(DOC_TARGETS):
>         $(Q)$(MAKE) $(build)=Documentation $@
>
>  # Misc
> --
> 2.17.1
>
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index c0be1a4dbfdd..7e54a821b4b0 100644
--- a/Makefile
+++ b/Makefile
@@ -1578,7 +1578,7 @@  $(help-board-dirs): help-%:
 DOC_TARGETS := xmldocs latexdocs pdfdocs htmldocs epubdocs cleandocs \
 	       linkcheckdocs dochelp refcheckdocs
 PHONY += $(DOC_TARGETS)
-$(DOC_TARGETS): scripts_basic FORCE
+$(DOC_TARGETS):
 	$(Q)$(MAKE) $(build)=Documentation $@
 
 # Misc