mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 09:40:36 +00:00
23 lines
550 B
Makefile
Executable File
23 lines
550 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
# -*- makefile -*-
|
|
|
|
#export DH_VERBOSE=1
|
|
export DH_OPTIONS
|
|
|
|
%:
|
|
dh $@ --with python2,python3,sphinxdoc --buildsystem=python_distutils
|
|
|
|
override_dh_auto_install:
|
|
python setup.py install --root debian/python-gpiozero --install-layout=deb
|
|
python3 setup.py install --root debian/python3-gpiozero --install-layout=deb
|
|
# Strip out binaries from the py2 package
|
|
rm debian/python-gpiozero/usr/bin/pinout
|
|
|
|
#override_dh_auto_test:
|
|
# # Don't run the tests!
|
|
|
|
override_dh_installdocs:
|
|
python setup.py build_sphinx -b html
|
|
dh_installdocs
|
|
|