diff mbox series

kbuild: remove unneeded dependency for $(DOC_TARGETS)

Message ID 20190821173321.15012-1-yamada.masahiro@socionext.com
State Accepted
Commit bc7b752a7a1c8498f5c48f5b1b63147e32f649dc
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(-)

-- 
2.17.1

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

>



-- 
Best Regards
Masahiro Yamada
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