File: rules

package info (click to toggle)
bear 3.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,544 kB
  • sloc: cpp: 8,619; sh: 706; ansic: 495; python: 175; makefile: 29
file content (15 lines) | stat: -rwxr-xr-x 374 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -DENABLE_MULTILIB=ON

override_dh_auto_test:
	# The tests fail if /usr/lib/ccache is in PATH so we remove it here. The tests
	# do not fail if CC or CXX are set to use ccache.
	PATH=$(shell echo $$PATH | \
		sed -e 's;:/usr/lib/ccache/\?;;' \
			-e 's;^/usr/lib/ccache/\?;;') \
		dh_auto_test