about summary refs log tree commit diff stats
path: root/tools/update_html
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-07-16 08:38:43 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-07-16 08:38:43 -0700
commit78357b8852626b510527f3b8d770a7dd8956fcc7 (patch)
tree5e38d0f616ab151e66618090487b41dd2fc348e0 /tools/update_html
parent44d26b77c45668c9b0c99894a4294cec004361fe (diff)
downloadmu-78357b8852626b510527f3b8d770a7dd8956fcc7.tar.gz
.
Diffstat (limited to 'tools/update_html')
-rwxr-xr-xtools/update_html37
1 files changed, 29 insertions, 8 deletions
diff --git a/tools/update_html b/tools/update_html
index add9a89c..a938cb03 100755
--- a/tools/update_html
+++ b/tools/update_html
@@ -47,6 +47,14 @@ do
   process $f
 done
 
+for f in apps/*.mu
+do
+  ( cd $(dirname $f)
+    ctags -x ../[0-9]*.subx ../[0-9]*.mu $(basename $f) > /tmp/tags
+  )
+  process $f
+done
+
 ( cd shell
   ctags -x ../boot.subx ../[0-9]*.subx ../[0-9]*.mu *.mu > /tmp/tags
 )
@@ -72,7 +80,7 @@ do
   process $f
 done
 
-for f in linux/advent2020/*.mu linux/advent2017/*.mu
+for f in linux/apps/*.subx linux/apps/*.mu
 do
   ( cd $(dirname $f)
     ctags -x ../[0-9]*.subx ../[0-9]*.mu $(basename $f) > /tmp/tags
@@ -80,15 +88,28 @@ do
   process $f
 done
 
-for dir in linux/raytracing linux/tile
+for f in linux/apps/advent2020/*.mu linux/apps/advent2017/*.mu
 do
-  ( cd $dir
-    ctags -x ../[0-9]*.subx ../[0-9]*.mu *.mu > /tmp/tags
+  ( cd $(dirname $f)
+    ctags -x ../../[0-9]*.subx ../../[0-9]*.mu $(basename $f) > /tmp/tags
   )
-  for f in $dir/*.mu
-  do
-    process $f
-  done
+  process $f
+done
+
+( cd linux/tile
+  ctags -x ../[0-9]*.subx ../[0-9]*.mu *.mu > /tmp/tags
+)
+for f in linux/tile/*.mu
+do
+  process $f
+done
+
+( cd linux/apps/raytracing
+  ctags -x ../../[0-9]*.subx ../../[0-9]*.mu *.mu > /tmp/tags
+)
+for f in linux/apps/raytracing/*.mu
+do
+  process $f
 done
 
 ( cd linux/bootstrap