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_TEST_ARGS := \
7 -k 'not file:///test.mp3 and not test_missing_positionals'
8
9 %:
10 dh $@ --with sphinxdoc --buildsystem=pybuild
11
12 execute_before_dh_auto_clean:
13 debconf-updatepo
14
15 override_dh_auto_build: export http_proxy=127.0.0.1:9
16 override_dh_auto_build: export https_proxy=127.0.0.1:9
17 override_dh_auto_build:
18 dh_auto_build
19 PYTHONPATH=. python3 -m sphinx -N -bhtml docs/ build/html
20 PYTHONPATH=. python3 -m sphinx -N -bman docs/ build/man
21
22 override_dh_auto_install:
23 dh_auto_install
24 # Move mopidy command into private module dir so it gets Mopidy
25 # extensions on its PYTHONPATH
26 mkdir -p debian/tmp/usr/share/mopidy
27 mv debian/tmp/usr/bin/mopidy debian/tmp/usr/share/mopidy/mopidy-cmd
28
29 override_dh_installinit:
30 dh_installinit --no-start
31
32 override_dh_installsystemd:
33 dh_installsystemd --no-enable --no-start
34
35 override_dh_installchangelogs:
36 dh_installchangelogs docs/changelog.rst