File: rules

package info (click to toggle)
pgtap 1.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 2,512 kB
  • sloc: sql: 22,286; sh: 909; makefile: 291; perl: 165
file content (31 lines) | stat: -rwxr-xr-x 709 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/make -f
# -*- makefile -*-
# Written by Pierre Chifflier <pollux@debian.org> and
#            Markus Wanner <markus@bluegap.ch>

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# Using pg_buildext
include /usr/share/postgresql-common/pgxs_debian_control.mk

%:
	dh $@

override_dh_auto_build:

override_dh_auto_test:
	# nothing to do here, see debian/tests/* instead

override_dh_auto_install:
	+pg_buildext loop postgresql-%v-pgtap
	# remove extra documentation copies
	rm -rf debian/*/usr/share/doc/postgresql-doc-*/

override_dh_installdocs:
	# build docs here because "pg_buildext loop" invokes "make clean"
	$(MAKE) html
	dh_installdocs

override_dh_auto_clean:
	$(MAKE) clean