File: rules

package info (click to toggle)
krop 0.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 352 kB
  • sloc: python: 2,364; xml: 34; sh: 17; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 403 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
export DH_VERBOSE = 1
export PYBUILD_NAME = krop

usrshare := $(CURDIR)/debian/$(PYBUILD_NAME)/usr/share
mandir := $(usrshare)/man/man1

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

override_dh_auto_clean:
	dh_auto_clean
	rm --verbose -f krop/version.py

override_dh_auto_install:
	python3 setup.py install --root=debian/krop --install-layout=deb --install-scripts=/usr/share/krop