summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2009-10-28 13:42:08 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2009-10-28 13:42:08 (GMT)
commitd9f090ac40c0692626a83ddcfb8350fdf223d28e (patch)
treea6ab18db435a05241258a52d275dbfa4c9fcab66
parent4574ae833261346f58586a06eb06a3fccbfe3af5 (diff)
downloadmxe-d9f090ac40c0692626a83ddcfb8350fdf223d28e.zip
mxe-d9f090ac40c0692626a83ddcfb8350fdf223d28e.tar.gz
mxe-d9f090ac40c0692626a83ddcfb8350fdf223d28e.tar.bz2
in the HTML documentation generation of "make dist", orient on ids rather than comments
-rw-r--r--Makefile4
-rw-r--r--doc/index.html8
2 files changed, 5 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index ea16c08..44f85a5 100644
--- a/Makefile
+++ b/Makefile
@@ -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' \
diff --git a/doc/index.html b/doc/index.html
index 1acb6c8..8ab4ef0 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -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>