File: rules

package info (click to toggle)
fuse-emulator 1.0.0.1a%2Bdfsg1-4
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 9,568 kB
  • sloc: ansic: 67,895; sh: 10,265; perl: 3,386; makefile: 787; yacc: 227; lex: 139
file content (24 lines) | stat: -rwxr-xr-x 533 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
#!/usr/bin/make -f
%:
	dh $@ --with autoreconf

override_dh_auto_configure:

override_dh_auto_build:
	rm -f ui/gtk/options.c
	icotool -x winfuse.ico
	mv winfuse_3_48x48x32.png fuse.png
	rm -f winfuse_*.png
	CFLAGS="-g -O2 -Wall -DG_DISABLE_CAST_CHECKS" dh_auto_configure -- \
		--with-roms-dir=/usr/share/spectrum-roms --with-x
	dh_auto_build
	mv fuse fuse-gtk
	dh_auto_clean
	dh_auto_configure -- --with-roms-dir=/usr/share/spectrum-roms \
		--with-sdl
	dh_auto_build
	cp fuse fuse-sdl

override_dh_clean:
	rm -f fuse.png
	dh_clean