From: Mauro Carvalho Chehab Date: Sun, 14 May 2017 15:22:12 +0000 (-0300) Subject: docs-rst: get rid of Documentation/sphinx/tmplcvt script X-Git-Tag: v4.14-rc1~473^2~21^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fd74809e73be1192f2455d39932a94dfa6fb0e83;p=platform%2Fkernel%2Flinux-rpi.git docs-rst: get rid of Documentation/sphinx/tmplcvt script As everything was converted to ReST, we don't need this script anymore. Signed-off-by: Mauro Carvalho Chehab --- diff --git a/Documentation/sphinx/tmplcvt b/Documentation/sphinx/tmplcvt deleted file mode 100755 index 6848f0a..0000000 --- a/Documentation/sphinx/tmplcvt +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash -# -# Convert a template file into something like RST -# -# fix -# feed to pandoc -# fix \_ -# title line? -# -set -eu - -if [ "$#" != "2" ]; then - echo "$0 " - exit -fi - -DIR=$(dirname $0) - -in=$1 -rst=$2 -tmp=$rst.tmp - -cp $in $tmp -sed --in-place -f $DIR/convert_template.sed $tmp -pandoc -s -S -f docbook -t rst -o $rst $tmp -sed --in-place -f $DIR/post_convert.sed $rst -rm $tmp -echo "book writen to $rst"