File: rules

package info (click to toggle)
hdf5-blosc 1.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 164 kB
  • sloc: ansic: 277; sh: 8; makefile: 8
file content (18 lines) | stat: -rwxr-xr-x 544 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

DPKG_EXPORT_BUILDTOOLS = 1
include /usr/share/dpkg/buildtools.mk

# Enabling PIE globally doesn't work, but ./configure already enables PIE
# where necessary.
export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie
export PLUGIN_DIR=$(shell $(PKG_CONFIG) hdf5-serial  --variable=PluginDir)

# as needed is the default now and is just needed for backports
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -O--buildsystem=cmake --  -DPLUGIN_INSTALL_PATH=$(PLUGIN_DIR)