File: rules

package info (click to toggle)
desmume 0.9.11-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 17,136 kB
  • sloc: cpp: 127,249; ansic: 5,648; sh: 4,228; makefile: 336; objc: 5
file content (22 lines) | stat: -rwxr-xr-x 614 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

LDFLAGS+=-Wl,-z,defs -Wl,--as-needed
#export LDFLAGS

%:
	dh $@ --with quilt,autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --bindir=/usr/games --datadir=/usr/share/games \
			--enable-gdb-stub \
			--enable-osmesa \
			--enable-glade

override_dh_auto_install:
	dh_auto_install
	mv debian/desmume/usr/share/games/pixmaps/DeSmuME.xpm \
		debian/desmume/usr/share/pixmaps/
	rm -rf debian/desmume/usr/share/games/pixmaps
	mv debian/desmume/usr/share/games/applications/desmume*.desktop \
		debian/desmume/usr/share/applications/
	rm -rf debian/desmume/usr/share/games/applications