File: rules

package info (click to toggle)
flare-engine 1.09.01-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 18,520 kB
  • sloc: cpp: 41,065; java: 1,815; sh: 217; xml: 45; makefile: 9
file content (21 lines) | stat: -rwxr-xr-x 470 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
#!/usr/bin/make -f
# -*- makefile -*-

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

export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed

%:
	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