Skip to contentSkip to conversation

kdbus: fix unused %docs make-targets

PATCH New David Herrmann 1 participant 1 message Jul 16, 2015 Documentation

lore
Share & tools
lore
#0 lore raw

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.

---
 Documentation/kdbus/Makefile | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/kdbus/Makefile +4 -0
index af87641..8caffe5 100644
@@ -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