File: rules

package info (click to toggle)
enigma 1.30%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 76,132 kB
  • sloc: xml: 162,251; cpp: 67,393; ansic: 28,606; makefile: 1,986; sh: 1,298; yacc: 288; perl: 84; sed: 16
file content (26 lines) | stat: -rwxr-xr-x 509 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
23
24
25
26
#!/usr/bin/make -f

ifeq ($(DEB_HOST_ARCH), alpha)
  CFLAGS += -O2 -mieee
endif

%:
	dh $@

override_dh_autoreconf:
	# same steps as in autogen.sh
	autoheader
	aclocal -I m4
	automake --add-missing --foreign --copy
	autoconf
	autoupdate
	#dh_autoreconf

override_dh_auto_configure:
	dh_auto_configure -- \
		--datadir=\$${prefix}/share/games \
		--bindir=\$${prefix}/games \
		--docdir=\$${prefix}/share/doc/enigma-doc \
		--localedir=\$${prefix}/share/locale \
		--with-system-enet=yes \
		--enable-optimize