File: rules

package info (click to toggle)
physlock 13-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 136 kB
  • sloc: ansic: 532; makefile: 57
file content (19 lines) | stat: -rwxr-xr-x 401 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
#DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
CFLAGS+=$(CPPFLAGS)

%:
	dh $@

# set appropriate PREFIX
override_dh_auto_install:
	make PREFIX=$(shell pwd)/debian/physlock/usr install


execute_after_dh_fixperms:
	# ensure setuid bit is enabled
	chmod u+s $(shell pwd)/debian/physlock/usr/bin/physlock