File: rules

package info (click to toggle)
icoextract 0.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 216 kB
  • sloc: python: 240; makefile: 46; sh: 6; ansic: 5
file content (19 lines) | stat: -rwxr-xr-x 648 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
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

export PYBUILD_NAME=icoextract
# Install scripts to debian/tmp so that we can split them into multiple binary packages
export PYBUILD_INSTALL_ARGS=--install-scripts=../tmp
# Build prerequisite files before running tests
export PYBUILD_BEFORE_TEST=cp -r {dir}/tests {build_dir} && cd {build_dir}/tests && make

include /usr/share/dpkg/pkg-info.mk

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

override_dh_gencontrol:
	dh_gencontrol
	dh_gencontrol -pexe-thumbnailer -- -v1~icoextract-$(DEB_VERSION)