File: rules

package info (click to toggle)
rust-debcargo 2.7.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,752 kB
  • sloc: sh: 241; makefile: 90
file content (13 lines) | stat: -rwxr-xr-x 347 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f
include /usr/share/dpkg/architecture.mk

%:
	dh $@ --buildsystem cargo

override_dh_auto_test:
ifneq ($(DEB_HOST_ARCH),mips64el)
	dh_auto_test -- test --all
endif

override_dh_auto_install:
	$(if $(findstring armhf,$(DEB_HOST_ARCH)), DEB_BUILD_OPTIONS="parallel=4 $(filter-out parallel=%,$(DEB_BUILD_OPTIONS))") dh_auto_install