File: Makefile

package info (click to toggle)
bgw-replstatus 1.0.8-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 84 kB
  • sloc: ansic: 144; makefile: 16; sh: 1
file content (13 lines) | stat: -rw-r--r-- 261 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
MODULES = bgw_replstatus

PG_CONFIG=pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)

NC = nc
NC_ARGS = -dq1
LISTEN_ADDRESS = 127.0.0.1
LISTEN_PORT = 5400

installcheck:
	[ "$(shell $(NC) $(NC_ARGS) $(LISTEN_ADDRESS) $(LISTEN_PORT))" = "MASTER" ]