Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 #DH_VERBOSE = 1
3
4 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
5 DPKG_EXPORT_BUILDFLAGS = 1
6 include /usr/share/dpkg/default.mk
7 CFLAGS+=$(CPPFLAGS)
8
9 %:
10 dh $@
11
12 # set appropriate PREFIX
13 override_dh_auto_install:
14 make PREFIX=$(shell pwd)/debian/physlock/usr install
15
16
17 execute_after_dh_fixperms:
18 # ensure setuid bit is enabled
19 chmod u+s $(shell pwd)/debian/physlock/usr/bin/physlock