File: rules

package info (click to toggle)
libpdl-io-hdf5-perl 1:0.73-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 596 kB
  • sloc: perl: 1,544; makefile: 14
file content (27 lines) | stat: -rwxr-xr-x 561 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

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# Enable hardening build flags
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

export DEB_LDFLAGS_MAINT_APPEND:=-Wl,--as-needed

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

export HDF5_INCDIR := /usr/include/hdf5/serial
export HDF5_LIBDIR := /usr/lib/$(DEB_HOST_MULTIARCH)

%:
	dh $@ --parallel

override_dh_install:
	dh_install --list-missing

override_dh_installchangelogs:
	dh_installchangelogs -k Release_Notes

override_dh_perl:
	dh_perl
	dh_pdl