summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 878dc6b9560f0b93b38312b0d0f56f54c209552a (plain)
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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

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

override_dh_compress:
	dh_compress -X/examples/

override_dh_clean:
	rm -rf tmp
	dh_clean

override_dh_missing:
	dh_missing --fail-missing

override_dh_install:
	dh_install -X/usr/share/doc/pytsk
	dpkg-query --show \
		--showformat 'misc:Built-Using=$${Source:Package} (= $${source:Version})\n' \
		libtsk-dev \
	| tee -a debian/python3-tsk.substvars > /dev/null