Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757807AbZJHR1M (ORCPT ); Thu, 8 Oct 2009 13:27:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755260AbZJHR1L (ORCPT ); Thu, 8 Oct 2009 13:27:11 -0400 Received: from mx3.mail.elte.hu ([157.181.1.138]:39165 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755255AbZJHR1K (ORCPT ); Thu, 8 Oct 2009 13:27:10 -0400 Date: Thu, 8 Oct 2009 19:26:19 +0200 From: Ingo Molnar To: Arnaldo Carvalho de Melo Cc: linux-kernel@vger.kernel.org, Frederic Weisbecker , Peter Zijlstra , Paul Mackerras , Mike Galbraith , Jesse Brandeburg Subject: Re: [PATCH 1/1] perf tools: Install the docs by default Message-ID: <20091008172619.GA24985@elte.hu> References: <1254925619-6705-1-git-send-email-acme@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1254925619-6705-1-git-send-email-acme@redhat.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-ELTE-SpamScore: -1.5 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-1.5 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -1.5 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1562 Lines: 43 * Arnaldo Carvalho de Melo wrote: > So that we get matching docs when installing a new version of the tools. > > Cc: Frederic Weisbecker > Cc: Peter Zijlstra > Cc: Paul Mackerras > Cc: Mike Galbraith > Cc: Paul Mackerras > Cc: Jesse Brandeburg > Suggested-by: Jesse Brandeburg > Signed-off-by: Arnaldo Carvalho de Melo > --- > tools/perf/Makefile | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/tools/perf/Makefile b/tools/perf/Makefile > index 5a42996..e714bd1 100644 > --- a/tools/perf/Makefile > +++ b/tools/perf/Makefile > @@ -895,6 +895,7 @@ ifneq (,$X) > $(foreach p,$(patsubst %$X,%,$(filter %$X,$(ALL_PROGRAMS) $(BUILT_INS) perf$X)), $(RM) '$(DESTDIR_SQ)$(perfexec_instdir_SQ)/$p';) > endif > endif > + $(MAKE) -C Documentation install > > install-doc: > $(MAKE) -C Documentation install hm, i didnt want to do that because many systems dont have asciidoc and xmlto installed by default. We can still do it, if you can auto-detect these two new tools and emit a warning (and dont build+install) documentation if they are missing - instead of failing the build. Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/