File: rules

package info (click to toggle)
manaplus 2.1.3.17-8
  • links: PTS
  • area: main
  • in suites: sid, trixie
  • size: 82,208 kB
  • sloc: cpp: 249,446; xml: 7,909; sh: 4,740; pascal: 4,275; makefile: 3,254; ansic: 1,095; objc: 244; sed: 16
file content (27 lines) | stat: -rwxr-xr-x 783 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
27
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

DEB_CONFIGURE_EXTRA_FLAGS := \
	--bindir=/usr/games \
	--enable-unittests=yes \
	--without-dyecmd \
	--with-sdl2 \
	--with-unittestsdir=testsdir

override_dh_auto_configure:
	dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS)

override_dh_clean:
	rm -rf $(CURDIR)/src/testsdir
	dh_clean

override_dh_install:
	dh_install
	rm -f $(CURDIR)/debian/manaplus-data/usr/share/manaplus/data/themes/jewelry/LICENSE.txt
	rm -f $(CURDIR)/debian/manaplus-data/usr/share/manaplus/data/themes/jewelry-simple/LICENSE.txt
	rm -f $(CURDIR)/debian/manaplus-data/usr/share/manaplus/data/themes/golden-delicious/LICENSE.txt
	chmod -x $(CURDIR)/debian/manaplus-data/usr/share/icons/hicolor/scalable/apps/manaplus.svg || true

%:
	dh $@