debian/rules: Build using the provided Makefile.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 17 Nov 2019 04:23:00 +0000 (04:23 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 25 Nov 2019 17:31:22 +0000 (17:31 +0000)
commit6a8392c3473fb923ce72f26153d9aa7aa7de4e06
treed0522dea15dce204c97f84483912e7c2b63ae661
parent70a61a3546c28659fe2b22fad6f925d2300502f6
debian/rules: Build using the provided Makefile.

There were several problems with the old system.  Firstly, it only
actually worked by accident: setting an explicit build directory caused
Debhelper to search there for a makefile (which it didn't find, for
obvious reasons) and fall back to the Python distutils system.  That
would be OK, but only because there's only been one Python version I've
wanted to support in Debian for ages; but that's likely to change.  And
it won't run tests properly.

Instead, delete the `-B' option (which will break the upcoming tests).
Now Debhelper will build via the Makefile.  Set the `PYTHONS'
environment variable to the Python versions supported in Debian.  And
set the prefix correctly during installation.
debian/rules