File: rules

package info (click to toggle)
connect-proxy 1.105-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 168 kB
  • sloc: ansic: 2,229; makefile: 11
file content (15 lines) | stat: -rwxr-xr-x 339 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_build:
	docbook-to-man debian/connect-proxy.sgml > debian/connect-proxy.1
	cat connect.c | sed 's/SOCKLEN_T/socklen_t/' > connect_patched.c
	[ -d usr/bin ] || mkdir -p usr/bin
	gcc -o usr/bin/connect-proxy connect_patched.c

override_dh_clean:
	rm -rf usr
	rm -f connect_patched.c
	dh_clean