aboutsummaryrefslogtreecommitdiffstats
path: root/debian/rules
blob: 10c05a8060c1431790590b487ddb5f1e5ec23de8 (plain) (blame)
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

CFLAGS := -O3 -g -fstack-protector --param=ssp-buffer-size=4

DESTDIR=debian/tmp
prefix=/usr
build=liblua5.1-openssl liblua5.2-openssl
install=$(addsuffix -install,$(build))

%:
	dh $@

override_dh_auto_configure:
	true

override_dh_auto_build:
	make DESTDIR=$(DESTDIR) prefix=$(prefix) $(build)

override_dh_auto_install:
	make DESTDIR=$(DESTDIR) prefix=$(prefix) $(install)

override_dh_auto_clean:
	make clean

override_dh_auto_test:
	true