Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #56838
| From | Ben Hutchings <ben@decadent.org.uk> |
|---|---|
| Newsgroups | linux.debian.kernel |
| Subject | Sphinx builds always write to the source directory |
| Date | 2017-01-31 00:00 +0100 |
| Message-ID | <t5t5v-1iG-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
I'm having trouble with the Debian packaging of kernel documentation. We try to build everything in a separate output directory (underneath debian/build), but the new Sphinx-based build system writes to the source directory. Firstly, Python creates bytecode files alongside the module sources. This could be avoided by setting environment variable PYTHONDONTWRITEBYTECODE=1, at the expense of requiring recompilation more often. Secondly, starting with 4.10, Documentation/media/Makefile converts from dot to SVG and from SVG to PDF in the source directory. It seems like it should be possible to put the converted files in the output directory, but I don't know how to tell Sphinx to find them there. Are these issues likely to be fixed? Ben. -- Ben Hutchings Q. Which is the greater problem in the world today, ignorance or apathy? A. I don't know and I couldn't care less.
Back to linux.debian.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Sphinx builds always write to the source directory Ben Hutchings <ben@decadent.org.uk> - 2017-01-31 00:00 +0100
Re: Sphinx builds always write to the source directory Jani Nikula <jani.nikula@linux.intel.com> - 2017-01-31 09:10 +0100
Re: Sphinx builds always write to the source directory Jonathan Corbet <corbet@lwn.net> - 2017-01-31 18:30 +0100
[PATCH RESEND] Documentation/sphinx: prevent generation of .pyc files in the source tree Jani Nikula <jani.nikula@intel.com> - 2017-01-31 19:40 +0100
Re: [PATCH RESEND] Documentation/sphinx: prevent generation of .pyc files in the source tree Jonathan Corbet <corbet@lwn.net> - 2017-02-01 21:30 +0100
Re: [PATCH RESEND] Documentation/sphinx: prevent generation of .pyc files in the source tree Jani Nikula <jani.nikula@intel.com> - 2017-02-03 16:00 +0100
csiph-web