Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export PYBUILD_NAME=aiohttp-wsgi
4
5 %:
6 dh $@ --with python3,sphinxdoc --buildsystem=pybuild
7
8 override_dh_sphinxdoc:
9 ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
10 PYTHONPATH=. http_proxy='127.0.0.1:9' python3 -m sphinx \
11 -N -b html \
12 docs/ \
13 $(CURDIR)/debian/python3-aiohttp-wsgi/usr/share/doc/python3-aiohttp-wsgi/html
14 dh_sphinxdoc
15 endif
16
17 override_dh_auto_install:
18 dh_auto_install
19 dh_movefiles \
20 --package=aiohttp-wsgi-serve \
21 --sourcedir=debian/python3-aiohttp-wsgi \
22 usr/bin
23
24 override_dh_compress:
25 # changelog.html is below 20KB and we want users to be able to browse all docs
26 dh_compress -X changelog.html