135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
|
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
#----------------------------------------------------------------
|
|
>
|
>
|
>
|
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
|
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>" > htdocs/usage.wiki
echo "" >> htdocs/usage.wiki
echo "<h1>Command Line Usage</h1>" >> htdocs/usage.wiki
echo "" >> 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>" > htdocs/toc.wiki
echo "" >> 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
#----------------------------------------------------------------
|