File: rules

package info (click to toggle)
libmatio 1.5.9-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 25,316 kB
  • ctags: 954
  • sloc: sh: 66,486; ansic: 22,580; makefile: 517
file content (26 lines) | stat: -rwxr-xr-x 547 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

include /usr/share/dpkg/default.mk

ifneq ($(wildcard /usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial/libhdf5.so),)
  WITH_HDF5:=--with-hdf5=/usr/lib/$(DEB_HOST_MULTIARCH)/hdf5/serial
else
  WITH_HDF5:=--with-hdf5
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(WITH_HDF5)

override_dh_auto_build:
	dh_auto_build
	make -C documentation pdf

override_dh_auto_clean:
	dh_auto_clean
	rm -f documentation/matio_user_guide.pdf test/atconfig test/package.m4 test/testsuite

override_dh_compress:
	dh_compress -X.pdf