File: rules

package info (click to toggle)
rust-apt-swarm 0.5.1-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,580 kB
  • sloc: makefile: 20; sh: 13
file content (18 lines) | stat: -rwxr-xr-x 577 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
%:
	dh $@ --buildsystem cargo

execute_before_dh_install:
	debian/apt-swarm/usr/bin/apt-swarm plumbing completions bash > debian/apt-swarm.bash
	debian/apt-swarm/usr/bin/apt-swarm plumbing completions fish > debian/apt-swarm.fish
	debian/apt-swarm/usr/bin/apt-swarm plumbing completions zsh > debian/_apt-swarm

execute_before_dh_installman:
	help2man \
		--name apt-swarm \
		--no-info \
		debian/apt-swarm/usr/bin/apt-swarm > debian/apt-swarm.1

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