File: rules

package info (click to toggle)
gfpoken 1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 1,932 kB
  • ctags: 417
  • sloc: ansic: 2,984; sh: 1,446; makefile: 125
file content (19 lines) | stat: -rwxr-xr-x 433 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

CFLAGS ?= -g -Wall -Wextra

%:
	dh $@ --parallel --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --bindir=/usr/games

override_dh_auto_build:
	dh_auto_build
	pngtopnm -alpha png/gfpoken.png > alpha.ppm
	pngtopnm png/gfpoken.png | ppmtoxpm -name icon -alphamask=alpha.ppm > png/gfpoken.xpm
	rm alpha.ppm

override_dh_auto_clean:
	test ! -f Makefile || $(MAKE) autoclean
	rm -f png/gfpoken.xpm