File: rules

package info (click to toggle)
openvpn-auth-ldap 2.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,400 kB
  • sloc: ansic: 8,366; objc: 3,799; sh: 2,711; cpp: 594; makefile: 190; xml: 36
file content (17 lines) | stat: -rwxr-xr-x 540 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
export DEB_CFLAGS_MAINT_APPEND = -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=$(CURDIR)=/
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export DEB_OBJCFLAGS_MAINT_APPEND = -std=gnu11

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --prefix=/usr --with-openvpn=/usr/include/openvpn

override_dh_auto_clean:
	rm -f tests/Makefile
	dh_auto_clean

override_dh_auto_install:
	dh_auto_install -- prefix=/usr libdir=/usr/lib/openvpn