summaryrefslogtreecommitdiffstats
path: root/Makefile
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 /Makefile
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 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' \