| 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=ipyparallel |
| 7 |
export PYBUILD_TEST_ARGS=-W ignore::RuntimeWarning -W ignore::DeprecationWarning |
| 8 |
export PYBUILD_AFTER_INSTALL=mkdir -p {destdir}/etc && mv {destdir}/usr/etc/jupyter {destdir}/etc/jupyter && rm {destdir}/usr/etc -rf && rm {destdir}/usr/etc/jupyter/jupyter -rf |
| 9 |
|
| 10 |
%: |
| 11 |
ifeq (,$(filter nodoc,${DEB_BUILD_OPTIONS} ${DEB_BUILD_PROFILES})) |
| 12 |
dh $@ --buildsystem=pybuild --with sphinxdoc |
| 13 |
else |
| 14 |
dh $@ --buildsystem=pybuild |
| 15 |
endif |
| 16 |
|
| 17 |
override_dh_auto_build: |
| 18 |
IPP_DISABLE_JS=1 dh_auto_build |
| 19 |
ifeq (,$(filter nodoc,${DEB_BUILD_OPTIONS} ${DEB_BUILD_PROFILES})) |
| 20 |
PYTHONPATH=$(CURDIR) http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/source build/html |
| 21 |
endif |