diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-12-27 22:20:43 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-12-27 22:20:43 -0800 |
commit | 97eb971b7574b3f283d7111a567a301faec9912d (patch) | |
tree | 4a1f9d1987ca601efba78865c8b3d1766d23af92 /update_html | |
parent | df0c0babff599b0ab85f56cd50ee0b4143f12886 (diff) | |
download | mu-97eb971b7574b3f283d7111a567a301faec9912d.tar.gz |
3725
More improvements to cross-linking example programs. Include their own functions as well in the tags for each program, even as you share the core .mu files everywhere.
Diffstat (limited to 'update_html')
-rwxr-xr-x | update_html | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/update_html b/update_html index 369fb059..897a6e6e 100755 --- a/update_html +++ b/update_html @@ -53,11 +53,17 @@ 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 - rm *.tags + rm cpp.tags + ctags -x [0-9]*.mu > mu.tags + linkify/linkify mu.tags html/[0-9]*.mu.html + for f in [a-zA-Z]*.mu + do + ctags -x [0-9]*.mu $f > mu.tags + linkify/linkify mu.tags html/$f.html + done + rm mu.tags ( cd edit - ctags -x *.mu ../0*.mu > mu.tags + ctags -x ../[0-9]*.mu *.mu > mu.tags ../linkify/linkify mu.tags ../html/edit/*.mu.html rm mu.tags ) |