File: rules

package info (click to toggle)
presto 0.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 752 kB
  • sloc: python: 6,186; sh: 85; makefile: 14
file content (22 lines) | stat: -rwxr-xr-x 440 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f
#export DH_VERBOSE = 1

export PYBUILD_NAME=presto

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

override_dh_auto_clean:
	dh_auto_clean
	rm -rf presto.egg-info/

override_dh_install:
	dh_install
	mkdir -p debian/$(PYBUILD_NAME)/usr
	mv debian/python3-$(PYBUILD_NAME)/usr/bin debian/$(PYBUILD_NAME)/usr

override_dh_installchangelogs:
	dh_installchangelogs NEWS.rst

override_dh_installman:
	dh_installman --language=C