File: rules

package info (click to toggle)
sdcv 0.5.5-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 596 kB
  • sloc: cpp: 3,082; sh: 226; xml: 23; makefile: 10
file content (18 lines) | stat: -rwxr-xr-x 434 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

# https://bugs.debian.org/1078404
export DEB_CXXFLAGS_MAINT_APPEND = -fpermissive

%:
	dh $@ --no-parallel

override_dh_auto_configure:
	dh_auto_configure -- -DBUILD_TESTS=ON

override_dh_auto_build:
	dh_auto_build -- all lang

override_dh_auto_test:
	mkdir -p tmphome/.stardict/dic
	# Exclude json test as it's broken in both bash and dash
	export HOME=`pwd`/tmphome/; dh_auto_test -- ARGS+="--output-on-failure"