chiark / gitweb /
debian/rules: Build using the provided Makefile.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 27 Nov 2019 21:04:53 +0000 (21:04 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 11 Apr 2020 14:23:48 +0000 (15:23 +0100)
commit855e222c0dd056f4f4014b9bad9cf22b5c606c36
tree178285f5b934a951f713e161bfa66931afff5910
parentdf676fe95ee249b38c9e6c195deefc45451df530
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