File: rules

package info (click to toggle)
rust-libc 0.2.103-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 3,476 kB
  • sloc: makefile: 12
file content (15 lines) | stat: -rwxr-xr-x 419 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f
%:
	dh $@ --buildsystem cargo

override_dh_auto_test:
	dh_auto_test -- test --all

override_dh_auto_install:
	# Working around https://github.com/rust-lang/libc/pull/2432
	# Should be removed as soon as the libc crate is released with a fix
	# As far as I could find out, patching doesn't allow fixing the
	# permissions.
	chmod -x src/vxworks/mod.rs
	dh_auto_install $?
	chmod +x src/vxworks/mod.rs