Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # Uncomment this to turn on verbose mode.
4 #export DH_VERBOSE=1
5
6 export PYBUILD_NAME=django-uwsgi-ng
7
8 %:
9 dh $@ --with python3,sphinxdoc --buildsystem=pybuild
10
11 override_dh_auto_build:
12 dh_auto_build
13 PYTHONPATH=. python3 -m sphinx -b html -d docs/.build/.doctrees -N docs docs/.build/html
14
15 override_dh_clean:
16 find -name .DS_Store -type f -delete
17 rm -rf docs/.build
18 dh_clean
19
20 override_dh_fixperms:
21 dh_fixperms
22 chmod 0644 debian/python*-django-uwsgi-ng/usr/lib/python*/*-packages/django_uwsgi/templates/uwsgi/*.html
23
24 override_dh_compress:
25 dh_compress -Xchangelog.html