File: rules

package info (click to toggle)
postgresql-filedump 11.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 228 kB
  • sloc: ansic: 2,983; sh: 31; makefile: 26
file content (17 lines) | stat: -rwxr-xr-x 371 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@

override_dh_auto_build:
	$(MAKE) COPT="$(CFLAGS)"

override_dh_auto_install:
	$(MAKE) install DESTDIR=$(CURDIR)/debian/postgresql-filedump

override_dh_installdeb:
	sed -i -e "s!^PGBINDIR=.*!PGBINDIR=$(shell pg_config --bindir)!" debian/postinst debian/prerm
	dh_installdeb