File: rules

package info (click to toggle)
pg-rage-terminator 0.1.7-12
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 116 kB
  • sloc: ansic: 398; makefile: 15; sh: 10
file content (15 lines) | stat: -rwxr-xr-x 439 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

override_dh_installdocs:
	 dh_installdocs --all README.*

override_dh_pgxs_test:
	echo "psql -Xc 'SELECT pg_sleep(3)' 2>&1 | grep 'FATAL:  terminating connection due to administrator command'" | \
	LANG=C.UTF-8 pg_buildext \
		-o "shared_preload_libraries=pg_rage_terminator" \
		-o "pg_rage_terminator.chance=100" \
		-o "pg_rage_terminator.interval=1" \
		virtualenv . . pg-rage-terminator-%v

%:
	 dh $@ --with pgxs