File: rules

package info (click to toggle)
abe 1.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,068 kB
  • sloc: ansic: 5,468; sh: 2,725; objc: 224; makefile: 48
file content (20 lines) | stat: -rwxr-xr-x 515 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

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

override_dh_auto_configure:
	dh_auto_configure -- \
		--bindir=/usr/games \
		--with-data-dir=/usr/share/games/abe

override_dh_auto_build-indep:
	[ -e tom4.bmp ] || tar xf images/images.tar tom4.bmp
	[ -e abe.png ] || convert -resize 64x64 tom4.bmp abe.png
	[ -e tom4.xpm ] || convert -resize 24x32 tom4.bmp tom4.xpm
	[ -e abe.xpm ] || sed -e "s/#000000/None/" < tom4.xpm > abe.xpm

override_dh_clean:
	dh_clean
	$(RM) tom4.bmp tom4.xpm abe.xpm abe.png