1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export PYBUILD_DISABLE=test
%:
dh $@ --with sphinxdoc --buildsystem=pybuild
execute_before_dh_auto_clean:
debconf-updatepo
override_dh_auto_build: export http_proxy=127.0.0.1:9
override_dh_auto_build: export https_proxy=127.0.0.1:9
override_dh_auto_build:
dh_auto_build
PYTHONPATH=. python3 -m sphinx -N -bhtml docs/ build/html
PYTHONPATH=. python3 -m sphinx -N -bman docs/ build/man
override_dh_auto_install:
dh_auto_install
# Move mopidy command into private module dir so it gets Mopidy
# extensions on its PYTHONPATH
mkdir -p debian/tmp/usr/share/mopidy
mv debian/tmp/usr/bin/mopidy debian/tmp/usr/share/mopidy/mopidy-cmd
override_dh_installinit:
dh_installinit --no-start
override_dh_installsystemd:
dh_installsystemd --no-enable --no-start
override_dh_installchangelogs:
dh_installchangelogs docs/changelog.rst
|