File: rules

package info (click to toggle)
rust-toml2json 1.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 152 kB
  • sloc: makefile: 15
file content (16 lines) | stat: -rwxr-xr-x 437 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
%:
	dh $@ --buildsystem cargo

override_dh_auto_install:
	# /usr/bin/toml2json already used by reserialize, install into /usr/lib/cargo/bin
	DEB_CARGO_INSTALL_PREFIX=/usr/lib/cargo dh_auto_install

override_dh_auto_test:
	dh_auto_test -- test --all

execute_before_dh_installman:
	help2man \
		--name="convert TOML to JSON" \
		--no-info \
		debian/rust-toml2json/usr/lib/cargo/bin/toml2json > debian/toml2json-rust.1