From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935123AbcHJSax (ORCPT ); Wed, 10 Aug 2016 14:30:53 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:40593 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934900AbcHJSat (ORCPT ); Wed, 10 Aug 2016 14:30:49 -0400 Date: Wed, 10 Aug 2016 13:14:36 -0300 From: Mauro Carvalho Chehab To: Jani Nikula Cc: "Luis R. Rodriguez" , linux-doc@vger.kernel.org, "linux-kernel@vger.kernel.org" , Mauro Carvalho Chehab , Daniel Vetter , Jonathan Corbet , Markus Heiser Subject: Re: [RFC PATCH 1/3] Documentation/sphinx: build the media intermediate rst files for all outputs Message-ID: <20160810131436.79ff53e1@vela.lan> In-Reply-To: <62300587631fd2c5d411ad2660fb7c67ecdeb85d.1470844185.git.jani.nikula@intel.com> References: <20160810120535.27570309@vela.lan> <62300587631fd2c5d411ad2660fb7c67ecdeb85d.1470844185.git.jani.nikula@intel.com> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Wed, 10 Aug 2016 18:54:07 +0300 Jani Nikula escreveu: > This is a stopgap measure to allow building outputs other than html. Didn't test, but looking at the patch, it looks OK. So, Acked-by: Mauro Carvalho Chehab > > Signed-off-by: Jani Nikula > --- > Documentation/Makefile.sphinx | 3 +-- > Documentation/media/Makefile | 3 ++- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/Documentation/Makefile.sphinx b/Documentation/Makefile.sphinx > index 857f1e273418..d24a9f12a280 100644 > --- a/Documentation/Makefile.sphinx > +++ b/Documentation/Makefile.sphinx > @@ -38,10 +38,9 @@ ALLSPHINXOPTS = -D version=$(KERNELVERSION) -D release=$(KERNELRELEASE) -d $(B > I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . > > quiet_cmd_sphinx = SPHINX $@ > - cmd_sphinx = BUILDDIR=$(BUILDDIR) $(SPHINXBUILD) -b $2 $(ALLSPHINXOPTS) $(BUILDDIR)/$2 > + cmd_sphinx = $(MAKE) BUILDDIR=$(BUILDDIR) $(build)=Documentation/media all; BUILDDIR=$(BUILDDIR) $(SPHINXBUILD) -b $2 $(ALLSPHINXOPTS) $(BUILDDIR)/$2 > > htmldocs: > - $(MAKE) BUILDDIR=$(BUILDDIR) -f $(srctree)/Documentation/media/Makefile $@ > $(call cmd,sphinx,html) > > pdfdocs: > diff --git a/Documentation/media/Makefile b/Documentation/media/Makefile > index 39e2d766dbe3..a7fb35291f6c 100644 > --- a/Documentation/media/Makefile > +++ b/Documentation/media/Makefile > @@ -10,7 +10,8 @@ FILES = audio.h.rst ca.h.rst dmx.h.rst frontend.h.rst net.h.rst video.h.rst \ > > TARGETS := $(addprefix $(BUILDDIR)/, $(FILES)) > > -htmldocs: $(BUILDDIR) ${TARGETS} > +.PHONY: all > +all: $(BUILDDIR) ${TARGETS} > > $(BUILDDIR): > $(Q)mkdir -p $@ Cheers, Mauro