From 55bd3aa57a3b7b673486703181d129c7025b308a Mon Sep 17 00:00:00 2001 From: Vasudev Kamath Date: Sun, 3 Dec 2017 19:53:13 +0530 Subject: [PATCH] Add 2005 to prevent executing non existent mdBook command. --- debian/patches/2005_dont_run_mdbook.patch | 19 +++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 20 insertions(+) create mode 100644 debian/patches/2005_dont_run_mdbook.patch 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 -- 2.30.2