From 97eb971b7574b3f283d7111a567a301faec9912d Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 27 Dec 2016 22:20:43 -0800 Subject: 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. --- update_html | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'update_html') 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 ) -- cgit 1.4.1-2-gfad0