File: rules

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

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

%:
	dh $@ --buildsystem cargo

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

override_dh_installman:
	help2man \
		--name rustfilt \
		--no-info \
		--version-string $(DEB_VERSION_UPSTREAM) \
		debian/rustfilt/usr/bin/rustfilt > debian/rustfilt.1
	dh_installman -O--buildsystem=cargo