diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-12-26 20:44:10 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-12-26 20:58:37 -0800 |
commit | 201458e3bd2f1d79a0ea0b853552e9df267e92b1 (patch) | |
tree | 0a4f13662cde7f92ae0bcf641c9733e2a0fcd6ef /update_html | |
parent | e35c2d6857e1ed916221faae707e3c53ff8ed042 (diff) | |
download | mu-201458e3bd2f1d79a0ea0b853552e9df267e92b1.tar.gz |
3713 - cross-link calls with definitions in html
Diffstat (limited to 'update_html')
-rwxr-xr-x | update_html | 15 |
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 |