File: rules

package info (click to toggle)
tifffile 20120421-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 200 kB
  • sloc: python: 2,041; ansic: 754; sh: 29; makefile: 17
file content (26 lines) | stat: -rwxr-xr-x 568 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
26
#!/usr/bin/make -f

DEB_HOST_ARCH:=$(shell dpkg-architecture -qDEB_HOST_ARCH)
# As per code source need to handle big endian with:
ifneq (,$(filter powerpc ppc64, $(DEB_HOST_ARCH)))
export CFLAGS=-DMSB=0
endif

%:
	dh $@ --with python2

override_dh_auto_clean:
	-dh_auto_clean

override_dh_install:
	dh_install tifffile usr/bin
	dh_numpy

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

get-orig-source:
	./debian/get-orig-source