mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] kdbus: fix unused %docs make-targets
@ 2015-07-16 15:37 David Herrmann
  0 siblings, 0 replies; only message in thread
From: David Herrmann @ 2015-07-16 15:37 UTC (permalink / raw)
  To: linux-kernel; +Cc: Greg KH, Daniel Mack, Djalal Harouni, David Herrmann

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 <ulfalizer.lkml@gmail.com>
Tested-by: Jim Davis <jim.epost@gmail.com>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
---
 Documentation/kdbus/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/kdbus/Makefile b/Documentation/kdbus/Makefile
index af87641..8caffe5 100644
--- a/Documentation/kdbus/Makefile
+++ b/Documentation/kdbus/Makefile
@@ -38,3 +38,7 @@ mandocs: $(MANFILES)
 htmldocs: $(HTMLFILES)
 
 clean-files := $(MANFILES) $(HTMLFILES)
+
+# we don't support other %docs targets right now
+%docs:
+	@true
-- 
2.4.6


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-07-16 15:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-16 15:37 [PATCH] kdbus: fix unused %docs make-targets David Herrmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®