[ppc] Save all the registers in the context
[mono-project.git] / scripts / monodocs2html
blob74d5224c4119f739698ecf507dff3a7ca416f20f
1 #!/bin/sh
2 cmd_line=
4 for option do
5 case "$option" in
6 -dest:*)
7 dir=`echo "$option" | sed 's/^-dest://'`
8 cmd_line="$cmd_line -o \"$dir\""
9 ;;
10 -dumptemplate)
11 cmd_line="$cmd_line --default-template"
13 -ext:*)
14 ext=`echo "$option" | sed 's/^-ext://'`
15 cmd_line="$cmd_line --ext=$ext"
17 -onlytype*)
18 # compat; ignore
20 -source:*)
21 s=`echo "$option" | sed 's/^-source://'`
22 cmd_line="$cmd_line $s"
24 -template:*)
25 template=`echo "$option" | sed 's/^-template://'`
26 cmd_line="$cmd_line --template=$template"
28 -V | -version)
29 # compat; ignore
32 cmd_line="$cmd_line $option"
34 esac
35 done
37 exec mdoc export-html $cmd_line