#!/usr/bin/make -f
# -*- makefile -*-
SRCDIR = $(CURDIR)

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

%:
	dh $@

override_dh_auto_build:
	+pg_buildext build $(CURDIR) build-%v

clean:
	+pg_buildext clean $(CURDIR) build-%v
	rm -rf build-?.? debian/postgresql-?.?-hll debian/*.substvars
	dh $@

override_dh_auto_install:
	+pg_buildext install $(CURDIR) build-%v postgresql-%v-hll
