File: rules

package info (click to toggle)
hannah 2.0.1%2Bds1-0.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,648 kB
  • sloc: cpp: 3,039; makefile: 34; sh: 25
file content (36 lines) | stat: -rwxr-xr-x 765 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
29
30
31
32
33
34
35
36
#!/usr/bin/make -f

DPKG_EXPORT_BUILDFLAGS = 1
DPKG_EXPORT_BUILDTOOLS = 1
include /usr/share/dpkg/buildflags.mk
include /usr/share/dpkg/buildtools.mk

export DEB_CPPFLAGS_APPEND = $(shell $(PKG_CONFIG) sdl2 --cflags)

#export DH_VERBOSE=1

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --bindir=/bin/games --datarootdir=/usr/share/games/ \
	    --localstatedir=/var/games/hannah/

override_dh_auto_build-indep:
	:

override_dh_auto_clean:
	rm -f *.o

override_dh_auto_install-arch:
	:

override_dh_auto_install-indep:
	convert resources/ico.bmp debian/hannah-data/usr/share/pixmaps/hannah.png

execute_after_dh_fixperms-indep:
	:

execute_after_dh_fixperms-arch:
	chgrp games debian/hannah/usr/games/hannah
	chmod 2755 debian/hannah/usr/games/hannah