File: rules

package info (click to toggle)
ballerburg 1.2.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 616 kB
  • sloc: ansic: 5,942; sh: 65; makefile: 10
file content (17 lines) | stat: -rwxr-xr-x 460 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
#export DH_VERBOSE=1

%:
	dh $@ -Scmake

override_dh_clean:
	dh_clean
	rm -rf po/*.mo

override_dh_auto_install:
	dh_auto_install
	# cmake seems not to have an option for moving binaries, doing it manually
	mv debian/ballerburg/usr/bin debian/ballerburg/usr/games
	# put the game data files to the game data directory
	mkdir -p debian/ballerburg/usr/share/games/
	mv debian/ballerburg/usr/share/ballerburg debian/ballerburg/usr/share/games/