File: rules

package info (click to toggle)
rust-repro-env 0.4.3-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 484 kB
  • sloc: makefile: 31
file content (21 lines) | stat: -rwxr-xr-x 780 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

override_dh_auto_test:
	dh_auto_test -- test --all

override_dh_install:
	mkdir -p \
		debian/repro-env/usr/share/bash-completion/completions \
		debian/repro-env/usr/share/zsh/vendor-completions \
		debian/repro-env/usr/share/fish/completions
	debian/repro-env/usr/bin/repro-env completions bash > debian/repro-env/usr/share/bash-completion/completions/repro-env
	debian/repro-env/usr/bin/repro-env completions zsh > debian/repro-env/usr/share/zsh/vendor-completions/_repro-env
	debian/repro-env/usr/bin/repro-env completions fish > debian/repro-env/usr/share/fish/completions/repro-env.fish
	dh_install
	dh_missing

override_dh_installman:
	scdoc < docs/repro-env.1.scd > debian/repro-env.1
	dh_installman -O--buildsystem=cargo