File: rules

package info (click to toggle)
rust-hexyl 0.16.0-3
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 316 kB
  • sloc: makefile: 17
file content (21 lines) | stat: -rwxr-xr-x 433 bytes parent folder | download
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

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

BIN_NAME = hexyl
BIN_DESCRIPTION = "command-line hex viewer"

%:
	dh $@ --buildsystem cargo

execute_before_dh_installman:
	help2man \
		--name $(BIN_DESCRIPTION) \
		--no-info \
		--no-discard-stderr \
		--version-string $(DEB_VERSION_UPSTREAM) \
		--output debian/$(BIN_NAME).1 \
		debian/$(BIN_NAME)/usr/bin/$(BIN_NAME)

override_dh_dwz:
	dh_dwz -Xusr/share/cargo/registry