File: rules

package info (click to toggle)
rust-file-diff 1.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 832 kB
  • sloc: makefile: 14
file content (19 lines) | stat: -rwxr-xr-x 500 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

%:
	dh $@ --buildsystem cargo

override_dh_auto_install:
	dh_auto_install
	# These files are x86_64 binaries without source code, so no DFSG compatible
	# Thus, tests using them on non x86_64 fail
	find . -name 'rust_hello' -delete
	find . -name 'c_hello' -delete
	find . -name 'c_hello_copy' -delete
	find . -type d -empty -delete

override_dh_dwz:
	# Don't do anything. fails because of the
	# https://github.com/rust-lang/rust/issues/66118