File: rules

package info (click to toggle)
tifffile 20210201-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,836 kB
  • sloc: python: 24,170; makefile: 14
file content (22 lines) | stat: -rwxr-xr-x 514 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

# As per code source need to handle big endian with:
include /usr/share/dpkg/architecture.mk
ifeq ($(DEB_HOST_ARCH_ENDIAN),big)
export CFLAGS=-DMSB=0
endif
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export LC_ALL=C.UTF-8

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

override_dh_install:
	dh_numpy3

override_dh_installman:
	dh_installman debian/tifffile.1

debian/tifffile.1: debian/tifffile.1.in
	help2man --include=debian/tifffile.1.in --output=debian/tifffile.1 --no-info tifffile