File: rules

package info (click to toggle)
briquolo 0.5.7-9
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 9,004 kB
  • sloc: cpp: 17,795; ansic: 8,543; sh: 4,047; makefile: 691; yacc: 288; python: 132; sed: 16
file content (28 lines) | stat: -rwxr-xr-x 742 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
27
28
#!/usr/bin/make -f
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@ --without autoreconf

override_dh_auto_configure:
	dh_auto_configure -- \
		--prefix=/usr \
		--datadir=\$${prefix}/share/games \
		--bindir=\$${prefix}/games \
		--mandir=\$${prefix}/share/man \
		--infodir=\$${prefix}/share/info

override_dh_auto_install:
	mkdir -p $(CURDIR)/debian/tmp/usr/share/games/applications
	dh_auto_install
	find $(CURDIR)/debian/tmp/ -name "*.ttf" -type d -empty -delete

override_dh_link:
	dh_link -pbriquolo-data \
		usr/share/fonts/truetype/dejavu/DejaVuSans.ttf \
		usr/share/games/briquolo/data/DejaVuSans.ttf

override_dh_missing:
	dh_missing --list-missing