File: rules

package info (click to toggle)
repmgr 5.5.0%2Bdebpgdg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,704 kB
  • sloc: ansic: 30,263; xml: 15,301; sql: 2,206; lex: 640; makefile: 176; perl: 73; sh: 72
file content (14 lines) | stat: -rwxr-xr-x 431 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

override_dh_auto_configure:
	+pg_buildext configure build-%v "--libdir=/usr/lib/postgresql/%v/lib --datadir=/usr/share/postgresql-%v-repmgr"

override_dh_installinit:
	dh_installinit --name=repmgrd

PGVERSIONS := $(shell pg_buildext supported-versions | tac)
override_dh_gencontrol:
	dh_gencontrol -- -Vrepmgr:Depends="$(foreach PGVERSION,$(PGVERSIONS),postgresql-$(PGVERSION)-repmgr |)"

%:
	dh $@ --with pgxs