mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-03 18:30:32 +08:00
Debian policy is to install to /usr/bin, not /bin, so do that. This silences a lintian warning without using an override. Also fix removal of .crates*.toml files that cargo install creates. Signed-off-by: Lars Wirzenius <liw@liw.fi>
20 lines
527 B
Makefile
Executable File
20 lines
527 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
|
|
DEB_BUILD_OPTIONS=nostrip
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_build:
|
|
scripts/build-man-pages.sh . *.adoc
|
|
|
|
override_dh_auto_install:
|
|
mkdir -p debian/radicle/usr
|
|
cargo install --offline --locked --path=radicle-cli --root=debian/radicle/usr
|
|
cargo install --offline --locked --path=radicle-node --root=debian/radicle/usr
|
|
cargo install --offline --locked --path=radicle-remote-helper --root=debian/radicle/usr
|
|
find debian/radicle -name '.crates*' -delete
|
|
|
|
override_dh_auto_test:
|
|
echo tests are disabled, for now
|