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 |
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 --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
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(-)