kdbus: fix unused %docs make-targets
PATCH 1/1 kdbus: fix unused %docs make-targets
The top-level Makefile re-routes all %docs targets to the Documentation makefiles. The DocBook makefile supports a lot more targets than the kdbus makefile, and it seems unreasonable to expect that both will always be in sync.
Therefore, add a fallback no-op target %docs: which is used for all unspecified %docs targets.
We will, from time to time, add further %docs targets that make sense (like installdocs). But there is definitely no time pressure on those. However, we really should add this fallback now, as otherwise "make" will print errors due to unknown targets.
Reported-by Ulf Magnusson <[email protected]>
Tested-by Jim Davis <[email protected]>
Signed-off-by David Herrmann <[email protected]>
--- Documentation/kdbus/Makefile | 4 ++++ 1 file changed, 4 insertions(+)
Documentation/kdbus/Makefile +4 -0
@@ -38,3 +38,7 @@ mandocs: $(MANFILES) htmldocs: $(HTMLFILES) clean-files := $(MANFILES) $(HTMLFILES) + +# we don't support other %docs targets right now +%docs: + @true
Signature · 1 line
2.4.6