File: rules

package info (click to toggle)
nailing-cargo 1.1.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,948 kB
  • sloc: perl: 2,622; sh: 16; makefile: 6
file content (15 lines) | stat: -rwxr-xr-x 502 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /usr/bin/make -f

%:
	dh "$@"

# nailing-cargo expects to find its TOML::Tiny fork, and README.md via $0.
# This is pretty nasty, but we hope to get rid of the fork entirely,
# which will make the TOML::Tinyh part redundant.  This works and will do.
execute_after_dh_install:
	install -m755 debian/wrapper debian/nailing-cargo/usr/bin/nailing-cargo

# nailing-cargo's --doc option doesn't work with a compressed README
# The file is only 12k, anyway.
override_dh_compress:
	dh_compress -X README.md