File: rules

package info (click to toggle)
crossfire-client 1.11.0-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 5,036 kB
  • ctags: 2,857
  • sloc: ansic: 30,030; sh: 3,238; makefile: 248; perl: 48
file content (22 lines) | stat: -rwxr-xr-x 811 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
#!/usr/bin/make -f

clean::
	cp /usr/share/misc/config.sub /usr/share/misc/config.guess utils/

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk

DEB_CONFIGURE_EXTRA_FLAGS :=	--bindir=/usr/games --datadir=/usr/share/games --with-sound-dir=/usr/share/games/crossfire/sounds --disable-cfgtk2

# the same manpage applies, but it is in a different package. cp.
binary-post-install/crossfire-client-gtk2::
	cp debian/tmp/usr/share/man/man6/gcfclient.6 debian/crossfire-client-gtk2/usr/share/man/man6/gcfclient2.6

clean::
	rm -f sound-src/soundsdef.h sound-src/sounds
	rm -f utils/config.sub utils/config.guess
	rm -f common/config.h.debdiff

makebuilddir::
	cp /usr/share/misc/config.sub /usr/share/misc/config.guess utils/