File: rules

package info (click to toggle)
sstp-client 1.0.20-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 680 kB
  • sloc: ansic: 8,639; makefile: 142; sh: 41
file content (21 lines) | stat: -rwxr-xr-x 457 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
#!/usr/bin/make -f

PPPD_PLUGIN_DIR := $(shell dh_ppp --plugin-dir)

override_dh_auto_configure:
	dh_auto_configure -- \
		--with-runtime-dir="/var/run/sstpc" \
		--with-pppd-plugin-dir=$(PPPD_PLUGIN_DIR) \
		--with-pppd-auth-notify-support \
		--with-libevent=2 \
		--disable-static

%:
	dh $@ --with autoreconf,ppp

override_dh_makeshlibs:
	dh_makeshlibs -X$(PPPD_PLUGIN_DIR)

override_dh_install:
	dh_install
	find debian/tmp -name '*.la' -print -delete