From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from bombadil.infradead.org ([198.137.202.9]:53431 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752887AbcHJSvL (ORCPT ); Wed, 10 Aug 2016 14:51:11 -0400 Date: Wed, 10 Aug 2016 05:47:55 -0300 From: Mauro Carvalho Chehab To: Jani Nikula Cc: Mauro Carvalho Chehab , Hans Verkuil , Linux Media Mailing List , Jonathan Corbet , linux-doc@vger.kernel.org, Markus Heiser , Daniel Vetter Subject: Re: parts of media docs sphinx re-building every time? Message-ID: <20160810054755.0175f331@vela.lan> In-Reply-To: <8760rbp8zh.fsf@intel.com> References: <8760rbp8zh.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-media-owner@vger.kernel.org List-ID: Em Mon, 08 Aug 2016 18:37:38 +0300 Jani Nikula escreveu: > Hi Mauro & co - > > I just noticed running 'make htmldocs' rebuilds parts of media docs > every time on repeated runs. This shouldn't happen. Please investigate. I was unable to reproduce it here. Are you passing any special options to the building system? According to media Makefile, it should run the script only on four conditions: - if the dynamically-generated rst file is not found (e. g. after make cleandocs); - if the header file is changed; - if the exceptions file changes; - if the perl parser is changed. All rules are like: $(BUILDDIR)/audio.h.rst: ${UAPI}/dvb/audio.h ${PARSER} $(SRC_DIR)/audio.h.rst.exceptions Regards, Mauro Cheers, Mauro