File: rules

package info (click to toggle)
pg-qualstats 2.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 208 kB
  • sloc: ansic: 1,912; sql: 429; makefile: 29; sh: 2
file content (17 lines) | stat: -rwxr-xr-x 548 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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 doc/README.md
	rm -rvf debian/*/usr/share/doc/postgresql-doc-*

override_dh_pgxs_test:
	pg_buildext -o "shared_preload_libraries=pg_qualstats" installcheck . . postgresql-%v-pg-qualstats

orig: debian/control clean
	cd .. && tar czf pg-qualstats_$(PKGVER).orig.tar.gz $(EXCLUDE) pg-qualstats-$(PKGVER)

%:
	dh $@ --with pgxs_loop