File: rules

package info (click to toggle)
late 0.1.0-15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,560 kB
  • sloc: cpp: 3,100; sh: 3,003; ansic: 164; makefile: 106
file content (19 lines) | stat: -rwxr-xr-x 468 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
#!/usr/bin/make -f
#export DH_VERBOSE=1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@

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

override_dh_auto_install:
	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp scoredir=/var/games
	# Will be created with postinst script
	$(RM) debian/tmp/var/games/late.scores