pyc files in source dir with O=

From: Geert Uytterhoeven
Date: Wed Sep 07 2016 - 09:03:54 EST


When running "make htmldocs O=/path/to/somewhere", *.pyc files end up
in the source tree instead of in the build tree:

$ git ls-files -o
Documentation/sphinx/kernel-doc.pyc
Documentation/sphinx/kernel_include.pyc
Documentation/sphinx/rstFlatTable.pyc
$

This is with v4.8-rc5.

With next-20160907, two more files appear:

Documentation/sphinx/cdomain.pyc
Documentation/sphinx/load_config.pyc

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds