File: rules

package info (click to toggle)
tifffile 20151006-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 328 kB
  • ctags: 330
  • sloc: python: 4,114; ansic: 764; sh: 20; makefile: 16
file content (24 lines) | stat: -rwxr-xr-x 638 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
#!/usr/bin/make -f

# As per code source need to handle big endian with:
DEB_HOST_ARCH_ENDIAN:=$(shell dpkg-architecture -qDEB_HOST_ARCH_ENDIAN)
ifeq ($(DEB_HOST_ARCH_ENDIAN),big)
export CFLAGS=-DMSB=0
endif
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@ --with python2

override_dh_auto_clean:
	dh_auto_clean

override_dh_install:
	dh_numpy
	install -D -m0755 $(CURDIR)/debian/tifffile.sh $(CURDIR)/debian/python-tifffile/usr/bin/tifffile

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