Allow asciidoc formatted documentation in howto/

Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Junio C Hamano
2005-08-29 22:38:12 -07:00
parent 3459c2c433
commit 8d0991d7d7
3 changed files with 18 additions and 4 deletions

View File

@ -41,7 +41,14 @@ do
q
}' "$txt"`
echo "* link:$txt[$title] $from
if grep 'Content-type: text/asciidoc' >/dev/null $txt
then
file=`expr "$txt" : '\(.*\)\.txt$'`.html
else
file="$txt"
fi
echo "* link:$file[$title] $from
$abstract
"