File: rules

package info (click to toggle)
libdbd-pg-perl 3.18.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,428 kB
  • sloc: perl: 10,202; ansic: 5,977; makefile: 15
file content (21 lines) | stat: -rwxr-xr-x 580 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
#!/usr/bin/make -f

PGVERSION=$(shell /usr/share/postgresql-common/supported-versions | tail -n1)
PG_INCLUDEDIR = $(shell pg_config --includedir)
PG_LIBDIR = $(shell pg_config --libdir)

export POSTGRES_HOME=/usr/lib/postgresql/$(PGVERSION)
export POSTGRES_INCLUDE=$(PG_INCLUDEDIR)
export POSTGRES_LIB=$(PG_LIBDIR)
export DBDPG_TEMPDIR=$(shell mktemp -d)
export LC_ALL=C

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

%:
	dh $@

override_dh_auto_test:
	USER=$(shell whoami) RES_OPTIONS=attempts:0 dh_auto_test