File: rules

package info (click to toggle)
sdl12-compat 1.2.72-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,332 kB
  • sloc: ansic: 33,104; python: 1,346; objc: 294; sh: 202; makefile: 13
file content (28 lines) | stat: -rwxr-xr-x 681 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
28
#!/usr/bin/make -f
# -*- makefile -*-

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

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

include /usr/share/dpkg/default.mk

%:
	dh $@ -Scmake+ninja

configure_options := \
	-DSDL12COMPAT_INSTALL_TESTS=ON \
	$(NULL)

override_dh_auto_configure:
	dh_auto_configure -- $(configure_options)

# There are no automated tests in this package
override_dh_auto_test:

# debhelper >= 13.4 makes all of /usr/libexec executable, which is not
# quite right for installed-tests (#1006927)
override_dh_fixperms:
	dh_fixperms -Xusr/libexec/installed-tests
	chmod --recursive a+rX,u+w,og-w debian/*-tests/usr/libexec/installed-tests