File: rules

package info (click to toggle)
libpqtypes 1.5.1-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,052 kB
  • sloc: sh: 8,333; ansic: 7,603; makefile: 71
file content (26 lines) | stat: -rwxr-xr-x 512 bytes parent folder | download
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
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

export DEB_CPPFLAGS_MAINT_APPEND = -I/usr/include/postgresql
# avoid build failure with TZ=Etc/GMT+12
export TZ = UTC

override_dh_auto_test:
ifneq ($(DEB_HOST_ARCH_OS),hurd)
	$(MAKE) test LDFLAGS+=-L.libs
	LD_LIBRARY_PATH=$(LD_LIBRARY_PATH):.libs pg_virtualenv ./test ""
endif

override_dh_missing:
	dh_missing -X.la

#dbg#override_dh_strip:
#dbg#	dh_strip --dbg-package=libpqtypes0-dbg

override_dh_auto_clean:
	dh_auto_clean
	rm -f test

%:
	dh $@