File: rules

package info (click to toggle)
rust-redox-termios 0.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 92 kB
  • sloc: makefile: 13
file content (15 lines) | stat: -rwxr-xr-x 401 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
include /usr/share/rustc/architecture.mk
%:
	dh $@ --buildsystem cargo

# Upstream at this version requires nightly features :(
# They also only work on specific architectures, so ignore test failures elsewhere.
override_dh_auto_test:
	export RUSTC_BOOTSTRAP=1; \
	case $(DEB_HOST_RUST_TYPE) in \
	arm-*|x86-*|x86_64-*) \
	  dh_auto_test;; \
	*) \
	  dh_auto_test || true;; \
	esac