File: rules

package info (click to toggle)
petris 1.0.1-11
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 244 kB
  • sloc: ansic: 1,920; sh: 34; makefile: 29
file content (17 lines) | stat: -rwxr-xr-x 480 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1

# Explicitly enable full hardening.
export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@ 

# Run petris binary as group games so that high score
# file can be written to by normal users.
override_dh_fixperms:
	dh_fixperms
	chgrp games $(CURDIR)/debian/petris/usr/games/petris
	chmod g+s $(CURDIR)/debian/petris/usr/games/petris