File: rules

package info (click to toggle)
lua-apr 0.23.2-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,248 kB
  • sloc: ansic: 8,791; makefile: 154; sh: 20
file content (19 lines) | stat: -rwxr-xr-x 382 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

# pre-build::
# 	make -f Makefile src/errno.c

%:
	dh $@ --buildsystem=lua --with lua

override_dh_auto_configure:
	ln -sf src/apr.lua apr.lua
	mkdir -p apr
	ln -sf ../src/serialize.lua apr/
	ln -sf ../test apr/
	dh_auto_configure
override_dh_auto_clean:
	rm -rf apr apr.lua
	dh_auto_clean
override_dh_auto_test:
	DH_LUA_OPTS="skip-test-app-static" dh_auto_test