File: rules

package info (click to toggle)
crossfire 1.6.0.dfsg.1-4sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 17,048 kB
  • ctags: 5,716
  • sloc: ansic: 64,739; sh: 8,485; perl: 2,347; lex: 2,024; makefile: 1,038
file content (20 lines) | stat: -rwxr-xr-x 495 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

DEB_BUILDDIR := $(CURDIR)/build

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

DEB_CONFIGURE_EXTRA_FLAGS :=	--prefix=/var/games/crossfire \
				--exec-prefix=/usr/games \
				--bindir=/usr/games \
				--sbindir=/usr/games \
				--sysconfdir=/etc \
				--datadir=/usr/share/games \
				--mandir=/usr/share/man \
				--localstatedir=/var/games

cleanbuilddir::
	if [ -d "$(DEB_BUILDDIR)" ]; then \
		rm -rf "$(DEB_BUILDDIR)"; \
	fi