Re: dh_auto_* and Makefile
On 2014-05-02 02:48, Brian May wrote:
> In a particular project (django-model-utils 2.0.3 to be precise), if I
> have a debian/rules file containing:
>
>
> %:
> dh $@ --with python2
>
> Then dh_auto_* tools determine that the project comes with a Makefile
> (upstream file), and uses that instead of setup.py
>
> How can I force it to use setup.py?
%:
dh $@ --with python2 --buildsystem=python_distutils
See also section BUILD SYSTEM OPTIONS of debhelper(7).
> I have tried providing override_dh_auto_*, but then I hard coded the
> python version to use.
>
> Or should I create a patch in debian/patches that removes the Makefile?
> This seems to be the simplest solution, but want to make sure it sounds
> reasonable.
>
> Thanks
> --
> Brian May <brian@microcomaustralia.com.au
> <mailto:brian@microcomaustralia.com.au>>
Reply to: