File: rules

package info (click to toggle)
monster-masher 1.8.1-7
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,072 kB
  • ctags: 706
  • sloc: cpp: 4,874; sh: 896; makefile: 126
file content (24 lines) | stat: -rwxr-xr-x 555 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
#!/usr/bin/make -f

export DEB_CXXFLAGS_MAINT_APPEND=-std=c++11
export DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,defs,-lesd,--as-needed

%:
	dh $@ --with autoreconf

override_dh_clean:
	dh_clean po/.intltool-merge-cache debian/monster-masher.6 \
		intltool-extract intltool-merge intltool-update \
		monster-masher.schemas

override_dh_auto_configure:
	dh_auto_configure -- --prefix=/usr --bindir=\$${prefix}/games

override_dh_auto_build:
	# Generate manpage
	docbook-to-man debian/manpage.sgml > debian/monster-masher.6
	
	dh_auto_build

override_dh_auto_test: