File: rules

package info (click to toggle)
xbill 2.1-10
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 808 kB
  • sloc: ansic: 3,252; sh: 197; makefile: 101
file content (22 lines) | stat: -rwxr-xr-x 596 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

-include /usr/share/dpkg/buildtools.mk
export CC

DEB=debian/tmp
SCORES=$(DEB)/var/games/xbill.scores.default

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --bindir=\$${prefix}/games --disable-gtk --disable-motif --enable-athena

override_dh_fixperms:
	dh_fixperms
	chown root:games $(CURDIR)/debian/xbill/usr/games/xbill
	chown root:games $(CURDIR)/debian/xbill/var/games/xbill.scores.default
	chmod 2755 $(CURDIR)/debian/xbill/usr/games/xbill
	chmod 0664 $(CURDIR)/debian/xbill/var/games/xbill.scores.default