File: rules

package info (click to toggle)
pytsk 20190121-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,344 kB
  • sloc: python: 3,645; ansic: 3,090; makefile: 69; sh: 40
file content (25 lines) | stat: -rwxr-xr-x 550 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
#!/usr/bin/make -f
# -*- makefile -*-

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

%:
	dh $@ --with python2,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/python-tsk.substvars debian/python3-tsk.substvars > /dev/null