File: rules

package info (click to toggle)
quarry 0.2.0.dfsg.1-4.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, stretch
  • size: 4,720 kB
  • ctags: 4,039
  • sloc: ansic: 44,098; sh: 3,723; xml: 3,176; makefile: 498; sed: 5
file content (20 lines) | stat: -rwxr-xr-x 585 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

export CFLAGS += -std=gnu89

%:
	dh $@

override_dh_auto_configure:
	cp -f /usr/share/misc/config.sub build/config.sub
	cp -f /usr/share/misc/config.guess build/config.guess
	[ -f data/textures/wood1.jpg ] || uudecode debian/jpg/wood1.jpg.uue
	[ -f data/textures/wood2.jpg ] || uudecode debian/jpg/wood2.jpg.uue
	[ -f data/quarry.xpm ] || convert -resize 32x32 data/quarry.png data/quarry.xpm
	dh_auto_configure -- \
		--bindir=/usr/games \
		--disable-scrollkeeper-update

override_dh_auto_build:
	rm -f po/ru.gmo && msgfmt -c -o po/ru.gmo po/ru.po
	dh_auto_build