File: rules

package info (click to toggle)
flare-engine 1.14-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 19,388 kB
  • sloc: cpp: 47,760; java: 3,956; sh: 309; xml: 45; makefile: 10
file content (22 lines) | stat: -rwxr-xr-x 519 bytes parent folder | download | duplicates (3)
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
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed
export DEB_BUILD_MAINT_OPTIONS += hardening=+all

%:
	dh $@ --buildsystem=cmake

override_dh_auto_configure:
	dh_auto_configure -Scmake -- \
	  -DCMAKE_INSTALL_PREFIX=/usr

override_dh_link:
        # remove fonts from upstream
	rm -fv /usr/share/games/flare/mods/default/fonts/{LiberationSans,unifont}-*

        # links fonts to their location in Debian
	dh_link