File: rules

package info (click to toggle)
supysonic 0.7.2%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,716 kB
  • sloc: python: 9,315; sql: 1,029; sh: 25; makefile: 19; javascript: 6
file content (15 lines) | stat: -rwxr-xr-x 451 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export PYBUILD_DESTDIR=debian/tmp
export PYBUILD_AFTER_INSTALL=rm -rf {destdir}{install_dir}/Supysonic-*.dist-info/LICENSE

%:
	dh $@ --with sphinxdoc,python3 --buildsystem=pybuild

execute_before_dh_sphinxdoc:
	PYTHONPATH=. sphinx-build -b html docs debian/supysonic/usr/share/doc/supysonic/html

override_dh_installman:
	PYTHONPATH=. sphinx-build -b man docs debian/tmp
	rm -Rf debian/tmp/.doctrees
	dh_installman debian/tmp/*.1