Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export PYBUILD_NAME=wheel
4 export PYBUILD_VERBOSE=1
5 export DH_VERBOSE=1
6 export PYBUILD_AFTER_INSTALL=mkdir -p {dir}/debian/python3-wheel-whl/usr/share/python-wheels && cp {home_dir}/*.whl {dir}/debian/python3-wheel-whl/usr/share/python-wheels
7
8 %:
9 dh $@ --with python3 --buildsystem=pybuild
10
11 execute_before_dh_installman:
12 ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
13 (cd docs; \
14 python3 -m sphinx \
15 -b man \
16 -d _build/doctrees . _build/man)
17 endif
18
19 override_dh_python3:
20 dh_python3 --shebang=/usr/bin/python3
21 mkdir -p debian/python-wheel-common/usr
22 mv debian/python3-wheel/usr/bin debian/python-wheel-common/usr