3 # Generate help.h from README
12 asciidoc
--attribute 'newline=\n' --backend=html4
--no-header-footer \
13 --out-file="$tmpfile1" "$infile"
15 sed -n -e 's/"/\\"/g' -e '/Command line arguments/,$s/^.*$/"&\\n"/p' \
16 "$tmpfile1" >"$tmpfile2"
19 /* Help content is generated automatically from README by helpgen script */
21 static const char* helpInfo =
23 "<center><h1>QGit Handbook</h1></center>\n"
28 rm -f "$tmpfile1" "$tmpfile2"