about summary refs log tree commit diff stats
path: root/update_html
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-12-26 20:44:10 -0800
committerKartik K. Agaram <vc@akkartik.com>2016-12-26 20:58:37 -0800
commit201458e3bd2f1d79a0ea0b853552e9df267e92b1 (patch)
tree0a4f13662cde7f92ae0bcf641c9733e2a0fcd6ef /update_html
parente35c2d6857e1ed916221faae707e3c53ff8ed042 (diff)
downloadmu-201458e3bd2f1d79a0ea0b853552e9df267e92b1.tar.gz
3713 - cross-link calls with definitions in html
Diffstat (limited to 'update_html')
-rwxr-xr-xupdate_html15
1 files changed, 15 insertions, 0 deletions
diff --git a/update_html b/update_html
index 63f64e19..1cf72d00 100755
--- a/update_html
+++ b/update_html
@@ -43,3 +43,18 @@ for f in *.cc *.mu edit/*.mu
 do
   process $f
 done
+
+if which ctags >&/dev/null
+then
+  ( cd linkify; build; )
+  ctags -x *.cc  |grep -v "^operator \| member \| variable "  > cpp.tags
+  linkify/linkify cpp.tags html/*.cc.html
+  ctags -x 0*.mu  > mu.tags
+  linkify/linkify mu.tags html/*.mu.html html/edit/*.mu.html
+  rm *.tags
+  ( cd linkify; clean; )
+  for f in html/*.html html/edit/*.html
+  do
+    mv $f.out $f
+  done
+fi