in the HTML documentation generation of "make dist", orient on ids rather than comments

This commit is contained in:
Volker Grabsch 2009-10-28 14:42:08 +01:00
parent 4574ae8332
commit d9f090ac40
2 changed files with 5 additions and 7 deletions

View File

@ -232,10 +232,10 @@ dist:
mkdir '$(DIST_DIR)/mingw-cross-env-$(VERSION)/doc'
mkdir '$(DIST_DIR)/mingw-cross-env-$(VERSION)/src'
( \
$(SED) -n '1,/<!-- begin of package list -->/ p' '$(TOP_DIR)/doc/index.html' && \
$(SED) -n '1,/<table id="package-list">/ p' '$(TOP_DIR)/doc/index.html' && \
($(foreach PKG,$(PKGS), \
echo ' <tr><td><a href="$($(PKG)_WEBSITE)">$(PKG)</a></td><td>$($(PKG)_VERSION)</td></tr>';)) && \
$(SED) -n '/<!-- end of package list -->/,$$ p' '$(TOP_DIR)/doc/index.html' \
$(SED) '1,/<table id="package-list">/ d' '$(TOP_DIR)/doc/index.html' \
) \
| $(SED) 's,\(<span class="version">\)[^<]*\(</span>\),\1$(VERSION)\2,g' \
| $(SED) 's,\(<span class="target">\)[^<]*\(</span>\),\1$(TARGET)\2,g' \

View File

@ -27,7 +27,7 @@
li, dt {
margin-bottom: 0.8em;
}
.authors li {
#authors li {
margin-bottom: 0em;
}
.usage dt {
@ -660,16 +660,14 @@ pfexec python setup.py install</pre>
<div class="section">
<h2 id="packages">List of Packages</h2>
<table>
<!-- begin of package list -->
<!-- end of package list -->
<table id="package-list">
</table>
</div>
<div class="section">
<h2 id="copyright">Copyright © 2009</h2>
<ul class="authors">
<ul id="authors">
<li>Volker Grabsch</li>
<li>Rocco Rutte</li>
<li>Andreas Roever</li>