File: rules

package info (click to toggle)
monster-masher 1.8.1-8
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 3,192 kB
  • sloc: cpp: 4,904; sh: 896; makefile: 120; xml: 104
file content (24 lines) | stat: -rwxr-xr-x 529 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,--as-needed

%:
	dh $@

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: