From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756009AbbGPPhr (ORCPT ); Thu, 16 Jul 2015 11:37:47 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:37317 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755711AbbGPPhp (ORCPT ); Thu, 16 Jul 2015 11:37:45 -0400 From: David Herrmann To: linux-kernel@vger.kernel.org Cc: Greg KH , Daniel Mack , Djalal Harouni , David Herrmann Subject: [PATCH] kdbus: fix unused %docs make-targets Date: Thu, 16 Jul 2015 17:37:29 +0200 Message-Id: <1437061049-23919-1-git-send-email-dh.herrmann@gmail.com> X-Mailer: git-send-email 2.4.6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Tested-by: Jim Davis Signed-off-by: David Herrmann --- 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