File: rules

package info (click to toggle)
rust-tealdeer 1.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 380 kB
  • sloc: makefile: 20
file content (26 lines) | stat: -rwxr-xr-x 555 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
22
23
24
25
26
#!/usr/bin/make -f
%:
	dh $@ --buildsystem cargo

override_dh_auto_configure:
	cp completion/* ./
	mv bash_tealdeer tldr
	mv fish_tealdeer tldr.fish
	mv zsh_tealdeer tldr.zsh
	dh_auto_configure

override_dh_auto_clean:
	rm tldr tldr.*sh || true
	dh_auto_clean

override_dh_installman:
	help2man \
		--name tldr \
		--no-info \
		debian/tealdeer/usr/bin/tldr > debian/tldr.1
	dh_installman -O--buildsystem=cargo

override_dh_dwz:
	# Don't do anything, fails because of
	# https://github.com/rust-lang/rust/issues/66118
	# (copied from other binary crates)