#!/usr/bin/make -f

# latest PostgreSQL bin dir
export PGBINDIR = $(shell ls -dv /usr/lib/postgresql/*/bin | tail -n 1)

export LANG = C.UTF-8

%:
	dh $@

override_dh_auto_test:
	# ignore tests for now, too much bitrot

override_dh_auto_install:
	make install DESTDIR=$(CURDIR)/debian/bucardo INSTALL_BASE=$(CURDIR)/debian/bucardo
