File: rules

package info (click to toggle)
rust-cargo-lock 4.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 444 kB
  • sloc: makefile: 11
file content (11 lines) | stat: -rwxr-xr-x 264 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/make -f
%:
	dh $@ --buildsystem cargo

override_dh_auto_configure:
	# used by test cases, dropped by dh-cargo when left in normal place
	mv Cargo.lock tests/support/Cargo.lock.crate
	dh_auto_configure

override_dh_auto_test:
	dh_auto_test -- test --all