Skip to content
Snippets Groups Projects
Commit f82bbe8e authored by Apertis package maintainers's avatar Apertis package maintainers
Browse files

d/rules: strip `rust-` prefix from manpage filenames


On Debian, `rust-coreutils` is meant to be installed alongside
`coreutils`, which would cause file conflicts if the manpages had the
same name, hence the need for the `rust-` prefix.

We intend to fully replace `coreutils` with `rust-coreutils` in Apertis,
so this prefix is not necessary nor relevant in our case.

Signed-off-by: default avatarArnaud Ferraris <arnaud.ferraris@collabora.com>
parent c610a5a8
Branches debian/bookworm debian/bullseye debian/trixie
Tags debian/0.0_git20181028.e517b90-1.1
No related merge requests found
......@@ -15,7 +15,7 @@ override_dh_auto_install:
CARGO_HOME=$(shell pwd)/debian/cargo_home DESTDIR=$(CURDIR)/debian/tmp/ make install PROFILE=release
for f in $(CURDIR)/debian/tmp/usr/local/bin/*; do \
filename=$$(basename $$f); \
help2man $$f > docs/rust-$$filename.1; \
help2man $$f > docs/$$filename.1; \
done
rm -f $(CURDIR)/debian/tmp/usr/local/man/man1/arch.1.gz
......
docs/rust-*.1
docs/*.1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment