File: rules

package info (click to toggle)
pgsql-ogr-fdw 1.1.6-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 692 kB
  • sloc: ansic: 4,115; makefile: 62; sql: 36; sh: 15
file content (23 lines) | stat: -rwxr-xr-x 500 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f

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

# Don't fail when d/control doesn't match template
export PG_UPDATECONTROL=yes

# Rebuild debian/control from debian/control.in
include /usr/share/postgresql-common/pgxs_debian_control.mk

%:
	dh $@

override_dh_auto_clean:
	+pg_buildext clean build-%v
	$(MAKE) clean

override_dh_auto_build:
	+pg_buildext build build-%v

override_dh_auto_install:
	+pg_buildext install build-%v postgresql-%v-ogr-fdw