diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-12-27 10:57:44 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-12-27 10:57:44 -0800 |
commit | 490b26d0614f685990dcc9225c7826a34de77b48 (patch) | |
tree | 01c75dc226f4a19d4e4f50d0202425e21f96a0ab /tools | |
parent | 3a671402815fa13fff21a416ba63bf3245afb54c (diff) | |
download | mu-490b26d0614f685990dcc9225c7826a34de77b48.tar.gz |
7426
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/update_html | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/tools/update_html b/tools/update_html index 8aba9637..321f3c45 100755 --- a/tools/update_html +++ b/tools/update_html @@ -39,47 +39,47 @@ convert_html() { mv -i $1.html html/`dirname $1` } -#? ctags -x *.cc |grep -v '^. ' > /tmp/tags # don't hyperlink every 'i' to the integer register variant -#? for f in *.cc -#? do -#? test $# -gt 0 && test $1 != $f && continue -#? process $f -#? done -#? -#? ctags -x [0-9]*.subx [0-9]*.mu > /tmp/tags -#? for f in *.subx *.mu -#? do -#? test $# -gt 0 && test $1 != $f && continue -#? process $f -#? done -#? -#? for f in apps/*.subx -#? do -#? test $# -gt 0 && test $1 != $f && continue -#? ( cd apps -#? ctags -x ../[0-9]*.subx ../[0-9]*.mu `basename $f` > /tmp/tags -#? ) -#? process $f -#? done -#? -#? for f in apps/*.mu -#? do -#? test $# -gt 0 && test $1 != $f && continue -#? ( cd apps -#? ctags -x ../[0-9]*.subx ../[0-9]*.mu `basename $f` > /tmp/tags -#? ) -#? process $f -#? done -#? -#? for f in apps/*/*.mu -#? do -#? test $# -gt 0 && test $1 != $f && continue -#? echo $f -#? ( cd `dirname $f` -#? ctags -x ../../[0-9]*.subx ../../[0-9]*.mu *.mu > /tmp/tags -#? ) -#? process $f -#? done +ctags -x *.cc |grep -v '^. ' > /tmp/tags # don't hyperlink every 'i' to the integer register variant +for f in *.cc +do + test $# -gt 0 && test $1 != $f && continue + process $f +done + +ctags -x [0-9]*.subx [0-9]*.mu > /tmp/tags +for f in *.subx *.mu +do + test $# -gt 0 && test $1 != $f && continue + process $f +done + +for f in apps/*.subx +do + test $# -gt 0 && test $1 != $f && continue + ( cd apps + ctags -x ../[0-9]*.subx ../[0-9]*.mu `basename $f` > /tmp/tags + ) + process $f +done + +for f in apps/*.mu +do + test $# -gt 0 && test $1 != $f && continue + ( cd apps + ctags -x ../[0-9]*.subx ../[0-9]*.mu `basename $f` > /tmp/tags + ) + process $f +done + +for f in apps/*/*.mu +do + test $# -gt 0 && test $1 != $f && continue + echo $f + ( cd `dirname $f` + ctags -x ../../[0-9]*.subx ../../[0-9]*.mu *.mu > /tmp/tags + ) + process $f +done for f in baremetal/*.hex do |