#!/usr/bin/make -f

include /usr/share/postgresql-common/pgxs_debian_control.mk

override_dh_auto_clean:
	dh_auto_clean
	rm -rf results regression.*
	# create results dir now so we can remove it later when the tests were run as root
	mkdir results

override_dh_auto_build:

override_dh_auto_install:
	+pg_buildext loop postgresql-%v-pgmemcache

override_dh_installchangelogs:
	dh_installchangelogs NEWS

override_dh_installdocs:
	dh_installdocs --all README.rst

%:
	dh $@
