Add support for generating ReST files
This commit is contained in:
parent
d2df9f4a44
commit
317a415028
@ -63,6 +63,10 @@ _markdown()
|
||||
$DEBUG $RST2HTML "${target%.*}.rst" > "$target"
|
||||
res=$?
|
||||
;;
|
||||
rst)
|
||||
$DEBUG $MD2RST "$source" || return 2
|
||||
res=$?
|
||||
;;
|
||||
1|2|3|4|5|6|7|8|9)
|
||||
$DEBUG $MD2RST "$source" || return 2
|
||||
$DEBUG $RST2MAN "${target%.*}.rst" > "$target"
|
||||
@ -173,6 +177,8 @@ while [ $# -gt 0 ]; do
|
||||
tmpfile="${source%.*}.rst"
|
||||
$DEBUG $RM -- "$tmpfile"
|
||||
;;
|
||||
rst)
|
||||
;;
|
||||
*)
|
||||
_error "$target: Unknown type"
|
||||
return 2
|
||||
|
Loading…
Reference in New Issue
Block a user