File: rules

package info (click to toggle)
rust-procs 0.14.10-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 980 kB
  • sloc: makefile: 53
file content (21 lines) | stat: -rwxr-xr-x 567 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f
%:
	dh $@ --buildsystem cargo --with shell_completions

override_dh_auto_test:
	dh_auto_test -- test --all

override_dh_installdocs:
	$$(find $(CURDIR)/debian -name procs -executable -not -type d | head -1) --gen-config > $(CURDIR)/debian/config.toml.example
	dh_installdocs

override_dh_installman:
	asciidoctor -b manpage -o $(CURDIR)/debian/procs.1 $(CURDIR)/man/procs.1.adoc
	dh_installman

override_dh_compress:
	dh_compress -XREADME.md

override_dh_auto_clean:
	dh_auto_clean
	rm -rf $(CURDIR)/debian/procs.1 $(CURDIR)/debian/build_artifacts