File: rules

package info (click to toggle)
lua-wsapi 1.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid, stretch
  • size: 644 kB
  • ctags: 247
  • sloc: sh: 961; ansic: 656; makefile: 52
file content (17 lines) | stat: -rwxr-xr-x 391 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

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

override_dh_auto_configure:
	chmod a-x src/wsapi/*
	rm -f doc/*/*.md
	rm -f src/launcher/*.c
	rm -f src/launcher/*.lua
	dh_auto_configure

override_dh_auto_install:
	mkdir -p debian/tmp/usr/bin
	sed 's/\x0D$$//' src/launcher/wsapi.cgi > debian/tmp/usr/bin/wsapi.cgi
	cp src/launcher/wsapi.fcgi debian/tmp/usr/bin/
	dh_auto_install