summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 4fb10c6adde1bd60151b4004ce9c900ecc927728 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

VERS = $(shell sed -n '1s/.*(\([0-9.]\+\)-.*).*/\1/p' debian/changelog)

%:
	dh $@ --buildsystem=pybuild

override_dh_installman:
	dh_installman --language=C

override_dh_auto_clean:
	dh_auto_clean
	rm -rf Kaptive.egg-info

override_dh_missing:
	find debian/tmp -type d -name Kaptive-$(VERS).egg-info | xargs rm -rf
	dh_missing