From: Vasudev Kamath Date: Sun, 3 Dec 2017 14:23:13 +0000 (+0530) Subject: Add 2005 to prevent executing non existent mdBook command. X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~120 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=55bd3aa57a3b7b673486703181d129c7025b308a;p=cargo.git Add 2005 to prevent executing non existent mdBook command. --- diff --git a/debian/patches/2005_dont_run_mdbook.patch b/debian/patches/2005_dont_run_mdbook.patch new file mode 100644 index 000000000..6badb4832 --- /dev/null +++ b/debian/patches/2005_dont_run_mdbook.patch @@ -0,0 +1,19 @@ +Description: Don't run mdBook for book preview + Upstream script tries to show preview of generated document + the tool needed is missing and step is not needed during + package build. +Author: Vasudev Kamath +Last-Update: 2017-12-03 + +--- cargo-0.23.0.orig/src/ci/dox.sh ++++ cargo-0.23.0/src/ci/dox.sh +@@ -28,6 +28,6 @@ for doc in $DOCS; do + done + + # Temporary preview for mdBook docs +-cd src/doc/book +-$HOME/.cargo/bin/mdbook build --no-create --dest-dir ../../../target/doc/book +-cd ../../../ ++#cd src/doc/book ++#$HOME/.cargo/bin/mdbook build --no-create --dest-dir ../../../target/doc/book ++#cd ../../../ diff --git a/debian/patches/series b/debian/patches/series index 859a2408b..b2dc012d0 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -3,3 +3,4 @@ 2001_use-system-libgit2.patch 2002_disable-net-tests.patch 1002_fix_typo_cargo_search.patch +2005_dont_run_mdbook.patch