#!/usr/bin/make -f

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

SUPPORTED_VERSIONS=9.4

%:
	USE_PGXS=1 make PG_CONFIG=/usr/lib/postgresql/9.4/bin/pg_config
	dh $@

override_dh_auto_build:


override_dh_auto_install:
	+pg_buildext loop postgresql-%v-pghintplan
	#rm -r $(CURDIR)/debian/*/usr/share/doc/postgresql-doc-*

override_dh_auto_clean:
	USE_PGXS=1 make clean