#!/usr/bin/make -f
DEB_BUILD_OPTIONS=nostrip
export RADICLE_VERSION=$(shell build/version)
export GIT_HEAD=$(shell git rev-parse HEAD)
%:
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=crates/radicle-cli --root=debian/radicle/usr
cargo install --offline --locked --path=crates/radicle-node --root=debian/radicle/usr
cargo install --offline --locked --path=crates/radicle-remote-helper --root=debian/radicle/usr
find debian/radicle -name '.crates*' -delete
override_dh_auto_test:
echo tests are disabled, for now