add an example Multiboot kernel.
This commit is contained in:
parent
0263e922f1
commit
ec2469fa84
11 changed files with 1053 additions and 12 deletions
16
docs/src2texi
Normal file
16
docs/src2texi
Normal file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# Convert a source file to a TeXinfo file. Stolen from glibc.
|
||||
#
|
||||
# Usage: src2texi SRCDIR SRC TEXI
|
||||
|
||||
dir=$1
|
||||
src=`basename $2`
|
||||
texi=`basename $3`
|
||||
|
||||
sed -e 's,[{}],@&,g' \
|
||||
-e 's,/\*\(@.*\)\*/,\1,g' \
|
||||
-e 's,/\* *,/* @r{,g' -e 's, *\*/,} */,' \
|
||||
-e 's/\(@[a-z][a-z]*\)@{\([^}]*\)@}/\1{\2}/g' \
|
||||
${dir}/${src} | expand > ${texi}.new
|
||||
mv -f ${texi}.new ${dir}/${texi}
|
Loading…
Add table
Add a link
Reference in a new issue