File: rules

package info (click to toggle)
libdbd-pg-perl 3.7.4-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 1,312 kB
  • sloc: perl: 9,044; ansic: 5,651; makefile: 12
file content (18 lines) | stat: -rwxr-xr-x 405 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

PG_INCLUDEDIR = $(shell pg_config --includedir)
PG_LIBDIR = $(shell pg_config --libdir)

export POSTGRES_INCLUDE=$(PG_INCLUDEDIR)
export POSTGRES_LIB=$(PG_LIBDIR)
export LC_ALL=C

export DEB_BUILD_MAINT_OPTIONS := hardening=+bindnow
DPKG_EXPORT_BUILDFLAGS := 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@ --with perl_dbi

override_dh_auto_test:
	USER=$(shell whoami) dh_auto_test