File: rules

package info (click to toggle)
rust-rustdoc-stripper 0.1.5-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 244 kB
  • sloc: makefile: 14
file content (17 lines) | stat: -rwxr-xr-x 379 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

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

%:
	dh $@ --buildsystem cargo

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

override_dh_auto_test:
	dh_auto_test -- test --all