File: rules

package info (click to toggle)
python-pymzml 2.5.10%2Brepack1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 28,104 kB
  • sloc: python: 5,965; pascal: 341; makefile: 215; sh: 29
file content (33 lines) | stat: -rwxr-xr-x 688 bytes parent folder | download
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
#! /usr/bin/make -f

export DH_VERBOSE = 1
export PYBUILD_NAME=pymzml
export PYBUILD_SYSTEM=distutils

TMPDIR="debian/tmp"

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

override_dh_compress:
	dh_compress -X.py -X.idx -X.mzml -X.mzML \
		-Xexample_scripts \
		-Xtests

override_dh_clean:
	dh_quilt_unpatch
	dh_clean
	rm -rfv debian/source/include-binaries
	rm -rfv docs-for-build

configure_docs:
	rm -rfv docs-for-build
	cp -rpfv docs docs-for-build

override_dh_auto_configure: configure_docs
	dh_quilt_patch
	dh_auto_configure -O--buildsystem=pybuild -O--system=distutils --sourcedirectory=./

override_dh_auto_build:
	dh_auto_build
	cd docs-for-build && make html