#!/usr/bin/make -f
# -*- makefile -*-

SRCDIR=$(CURDIR)

include /usr/share/postgresql-common/pgxs_debian_control.mk
clean: debian/control
.PHONY: debian/control

override_dh_auto_build:
	+pg_buildext build $(SRCDIR) build-%v "$(CFLAGS)"

override_dh_auto_clean:
	+pg_buildext clean $(SRCDIR) build-%v

override_dh_auto_install:
	+pg_buildext install $(SRCDIR) build-%v postgresql-%v-q3c

override_dh_auto_test:
	true

%:
	dh $@
