about summary refs log tree commit diff stats
path: root/tools/update_html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-12-26 14:29:02 -0800
committerKartik Agaram <vc@akkartik.com>2020-12-26 14:29:02 -0800
commit761001dadc4fbbff674295f6bf0fd6c9026b107a (patch)
tree14cac01340502df0d0fc5d5a2d9b65e37c8394c9 /tools/update_html
parentcfd914b0984bac47939d05f59a4b88772d924d88 (diff)
downloadmu-761001dadc4fbbff674295f6bf0fd6c9026b107a.tar.gz
7405
Diffstat (limited to 'tools/update_html')
-rwxr-xr-xtools/update_html81
1 files changed, 45 insertions, 36 deletions
diff --git a/tools/update_html b/tools/update_html
index 97371b8f..8aba9637 100755
--- a/tools/update_html
+++ b/tools/update_html
@@ -39,44 +39,53 @@ 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
+#? 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
   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
+  ( cd baremetal
+    ctags -x [0-9]*.subx [0-9]*.mu `basename $f` > /tmp/tags
   )
   process $f
 done