File: rules

package info (click to toggle)
lbreakouthd 1.1.11-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,096 kB
  • sloc: cpp: 6,353; ansic: 5,436; sh: 4,755; makefile: 232; sed: 16
file content (26 lines) | stat: -rwxr-xr-x 884 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

include /usr/share/dpkg/pkg-info.mk

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --bindir=\$${prefix}/games --localstatedir=/var/games

execute_after_dh_fixperms-arch:
	chown root:games $(CURDIR)/debian/lbreakouthd/usr/games/lbreakouthd
	chmod g+s $(CURDIR)/debian/lbreakouthd/usr/games/lbreakouthd

execute_after_dh_install-indep:
	rm -f $(CURDIR)/debian/lbreakouthd-data/usr/share/games/lbreakouthd/themes/Standard/SIL-OFL.txt

execute_after_dh_install-arch:
	mkdir -p $(CURDIR)/debian/lbreakouthd/usr/share/games/lbreakouthd
	mv $(CURDIR)/debian/lbreakouthd/var/games/lbreakouthd.hscr $(CURDIR)/debian/lbreakouthd/usr/share/games/lbreakouthd/lbreakouthd.hscr.blank

override_dh_gencontrol-indep:
	dh_gencontrol -plbreakout2 -- -v2.6.5+really$(DEB_VERSION)
	dh_gencontrol -i --remaining-packages