132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
|
src/TAGS: $(SRCFILES)
etags -o src/TAGS --regex="/proc[ \t]+\([^ \t]+\)/\1/" $(SRCFILES) \
eskil.vfs/lib/*/*.tcl
setup: links src/TAGS
# Use this to rebuild the toc when new wiki files are added.
toc:
echo "<title>Documentation</title>\n" > htdocs/toc.wiki
grep title htdocs/*.wiki | grep -v Documentation | \
sed -e 's/htdocs/[./' -e 's/:<title>/|/' -e 's,</title>,],' | \
awk '{print $0; print ""};' >> htdocs/toc.wiki
#----------------------------------------------------------------
# Testing
#----------------------------------------------------------------
|
>
|
|
>
>
>
>
>
|
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
|
src/TAGS: $(SRCFILES)
etags -o src/TAGS --regex="/proc[ \t]+\([^ \t]+\)/\1/" $(SRCFILES) \
eskil.vfs/lib/*/*.tcl
setup: links src/TAGS
# Use this to rebuild the docs when command line changes or
# new wiki files are added.
docs:
echo "<title>Usage</title>\n" > htdocs/usage.wiki
echo "<h1>Command Line Usage</h1>\n" >> htdocs/usage.wiki
echo "<verbatim>" >> htdocs/usage.wiki
$(TCLKIT_LINUX) eskil.vfs/main.tcl -help >> htdocs/usage.wiki
echo "</verbatim>" >> htdocs/usage.wiki
echo "<title>Documentation</title>\n" > htdocs/toc.wiki
grep title htdocs/*.wiki | grep -v Documentation | \
sed -e 's/htdocs/[./' -e 's/:<title>/|/' -e 's,</title>,],' | \
awk '{print $0; print ""};' >> htdocs/toc.wiki
#----------------------------------------------------------------
# Testing
#----------------------------------------------------------------
|