File: rules

package info (click to toggle)
postgresql-pllua 1%3A2.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 996 kB
  • sloc: ansic: 12,825; sql: 1,689; makefile: 141; sh: 43
file content (33 lines) | stat: -rwxr-xr-x 784 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
27
28
29
30
31
32
33
#!/usr/bin/make -f

export LUA_INCDIR = /usr/include/lua5.3
export LUALIB = -llua5.3
export LUAC = luac5.3
export LUA = lua5.3

# work around 'ld -b binary' producing mips1 code
# https://buildd.debian.org/status/fetch.php?pkg=postgresql-pllua&arch=mips64el&ver=1%3A2.0~beta1-1&stamp=1530805328&raw=0
ifeq ($(shell dpkg --print-architecture), mips64el)
export BIN_ARCH = mips:isa64r2
export BIN_FMT = elf64-tradlittlemips
endif

include /usr/share/postgresql-common/pgxs_debian_control.mk

override_dh_auto_build:

override_dh_auto_test:

override_dh_auto_clean:
	$(MAKE) clean
	$(MAKE) -C hstore clean

override_dh_auto_install:
	+pg_buildext loop postgresql-%v-pllua
	+pg_buildext loop hstore postgresql-%v-pllua

override_dh_installdocs:
	dh_installdocs --all README.md

%:
	dh $@