File: rules

package info (click to toggle)
opendoas 6.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 308 kB
  • sloc: ansic: 2,427; sh: 386; yacc: 290; makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 324 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_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

override_dh_auto_clean:
	[ ! -f ./config.mk ] || dh_auto_clean
	rm -rf ./config.h ./config.mk

override_dh_auto_configure:
	./configure --prefix=/usr --with-timestamp

override_dh_fixperms:
	dh_fixperms
	chmod 4755 debian/opendoas/usr/bin/doas