Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 31 lines (21 sloc) 0.693 kb
#!/usr/bin/make -f
PKGVERS = $(shell dpkg-parsechangelog | awk -F '[:-]' '/^Version:/ { print substr($$2, 2) }')
EXCLUDE = --exclude-vcs --exclude=debian
include /usr/share/postgresql-common/pgxs_debian_control.mk
clean: debian/control
.PHONY: debian/control
override_dh_auto_build:
# do nothing
override_dh_auto_install:
# do nothing
override_dh_install:
# build all supported versions
+pg_buildext loop postgresql-%v-prefix
# remove docs that belong elsewhere
rm -rf debian/*/usr/share/doc/postgresql-doc-*
override_dh_installdocs:
dh_installdocs --all README.md TESTS.md
orig: debian/control clean
cd .. && tar czf prefix_$(PKGVERS).orig.tar.gz $(EXCLUDE) prefix
%:
dh $@
Jump to Line
Something went wrong with that request. Please try again.