File: rules

package info (click to toggle)
libpqtypes 1.5.1-9
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,100 kB
  • sloc: sh: 8,334; ansic: 7,601; makefile: 71
file content (23 lines) | stat: -rwxr-xr-x 442 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
#!/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

override_dh_auto_clean:
	dh_auto_clean
	rm -f test

%:
	dh $@