File: rules

package info (click to toggle)
dnapi 1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 42,284 kB
  • sloc: python: 831; sh: 62; makefile: 13
file content (25 lines) | stat: -rwxr-xr-x 623 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
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

include /usr/share/dpkg/default.mk

export PYBUILD_NAME=dnapilib

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

override_dh_install:
	dh_install
	# Move user applications into separate package
	mkdir -p debian/$(DEB_SOURCE)/usr
	mv debian/python3-$(PYBUILD_NAME)/usr/bin debian/$(DEB_SOURCE)/usr

override_dh_installman:
	dh_installman --language=C

# somehow .fq files will not be compressed
override_dh_compress:
	dh_compress
	find debian -name '*.fq' -exec gzip \{\} \;