Am 10.08.2016 um 15:46 schrieb Jonathan Corbet <corbet@xxxxxxx>: > On Wed, 10 Aug 2016 12:23:16 +0300 > Jani Nikula <jani.nikula@xxxxxxxxx> wrote: > >>>> 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? >> >> Hmh, I can't reproduce this now either. I was able to hit this on >> another machine consistently, even with 'make cleandocs' in >> between. I'll check the environment on the other machine when I get my >> hands on it. > > Just FWIW, I've been trying to find a moment to come back to this because > I couldn't reproduce it either... > > jon Hmm, I have had problems with the relative BUILDDIR make environment, so I switched to absolute pathname .. see my "more generic way" patch: htmldocs: - $(MAKE) BUILDDIR=$(BUILDDIR) -f $(srctree)/Documentation/media/Makefile $@ + $(MAKE) BUILDDIR=$(abspath $(BUILDDIR)) -f $(srctree)/Documentation/media/Makefile $@ could this the reason why you can't reproduce it? My problem was vice versa, if I called "make O=/tmp/kernel htmldocs" after a make with normal output, the rst files has been found in Documents/output and not regenerated in /tmp/kernel/Documents/output. And with "make O=/tmp/kernel clean", the rst files in Documents/output resists. This was very confusing to me, so I changed it to absolute pathname. --Markus-- -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html