File: rules

package info (click to toggle)
kaptive 2.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 44,192 kB
  • sloc: python: 1,546; sh: 29; makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 363 bytes parent folder | download
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 $@ --with python3 --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