| 1 |
#!/usr/bin/make -f |
| 2 |
# See debhelper(7) (uncomment to enable) |
| 3 |
# output every command that modifies files on the build system. |
| 4 |
#export DH_VERBOSE = 1 |
| 5 |
|
| 6 |
export PYBUILD_NAME=python3-diagrams |
| 7 |
|
| 8 |
%: |
| 9 |
dh $@ --with python3 --buildsystem=pybuild |
| 10 |
|
| 11 |
override_dh_install: |
| 12 |
dh_install |
| 13 |
find $(CURDIR)/debian/python3-diagrams/usr/lib -name .DS_Store | xargs rm -f |
| 14 |
|
| 15 |
# If you need to rebuild the Sphinx documentation |
| 16 |
# Add spinxdoc to the dh --with line |
| 17 |
# |
| 18 |
# And uncomment the following lines |
| 19 |
#override_dh_auto_build: export http_proxy=127.0.0.1:9 |
| 20 |
#override_dh_auto_build: export https_proxy=127.0.0.1:9 |
| 21 |
#override_dh_auto_build: |
| 22 |
# dh_auto_build |
| 23 |
# PYTHONPATH=. python3 -m sphinx -N -bhtml docs/ build/html # HTML generator |
| 24 |
# PYTHONPATH=. python3 -m sphinx -N -bman docs/ build/man # Manpage generator |