File: rules

package info (click to toggle)
koules 1.4-25
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,892 kB
  • sloc: ansic: 15,537; makefile: 779; asm: 379; tcl: 362; sh: 134
file content (19 lines) | stat: -rwxr-xr-x 603 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@

override_dh_auto_configure:
	xmkmf -a

override_dh_auto_build:
	if [ ! -s xkoules.man ]; then ln -sf xkoules.6 xkoules.man; fi
	dh_auto_build -- KOULESDIR=/usr/games SOUNDDIR=/usr/lib/games/koules MANDIR=/usr/share/man/man6

override_dh_auto_install:
	dh_auto_install -- KOULESDIR=/usr/games SOUNDDIR=/usr/lib/games/koules MANDIR=/usr/share/man/man6
	for file in debian/koules/usr/lib/games/koules/*.raw; do if [ -f $$file ]; then mv $$file debian/koules/usr/share/games/koules/; fi; done