File: rules

package info (click to toggle)
tifffile 20140824-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 280 kB
  • ctags: 289
  • sloc: python: 3,465; ansic: 756; sh: 29; makefile: 17
file content (27 lines) | stat: -rwxr-xr-x 635 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
27
#!/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


%:
	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

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