mirror of
https://github.com/HypoPG/hypopg
synced 2026-05-24 09:38:21 +00:00
* Use dh --with pgxs_loop. * DH 13. * R³: no. * debian/tests: Use 'make' instead of postgresql-server-dev-all.
17 lines
475 B
Makefile
Executable file
17 lines
475 B
Makefile
Executable file
#!/usr/bin/make -f
|
|
|
|
PKGVER = $(shell dpkg-parsechangelog | awk -F '[:-]' '/^Version:/ { print substr($$2, 2) }')
|
|
EXCLUDE = --exclude-vcs --exclude=debian
|
|
|
|
override_dh_installdocs:
|
|
dh_installdocs --all CONTRIBUTORS.md README.md
|
|
rm -rvf debian/*/usr/share/doc/postgresql-doc-*
|
|
|
|
override_dh_installchangelogs:
|
|
dh_installchangelogs CHANGELOG.md
|
|
|
|
orig: debian/control clean
|
|
cd .. && tar czf hypopg_$(PKGVER).orig.tar.gz $(EXCLUDE) hypopg-$(PKGVER)
|
|
|
|
%:
|
|
dh $@ --with pgxs_loop
|