summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-02-07 10:41:54 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-02-07 10:41:54 (GMT)
commitce8c6a6ce1b3f75d52e4c4d41a0fc95a20ae3f9b (patch)
tree98a179974d9fc7783c2581ac83cbe9744d5dd8be /Makefile
parenta72939270a609734bf4b319cb1e26e927e49a76f (diff)
downloadmxe-ce8c6a6ce1b3f75d52e4c4d41a0fc95a20ae3f9b.zip
mxe-ce8c6a6ce1b3f75d52e4c4d41a0fc95a20ae3f9b.tar.gz
mxe-ce8c6a6ce1b3f75d52e4c4d41a0fc95a20ae3f9b.tar.bz2
more liberal parsing of doc/index.html in "make dist"
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index e0a9e58..b39bf48 100644
--- a/Makefile
+++ b/Makefile
@@ -215,15 +215,15 @@ dist:
mkdir '$(DIST_DIR)/mingw-cross-env-$(VERSION)/doc'
mkdir '$(DIST_DIR)/mingw-cross-env-$(VERSION)/src'
( \
- $(SED) -n '1,/<table id="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 '/<table id="package-list">/,/<ul id="authors-list">/ p' '$(TOP_DIR)/doc/index.html' | \
+ $(SED) -n '/<table id="package-list"/,/<ul id="authors-list"/ p' '$(TOP_DIR)/doc/index.html' | \
$(SED) '1d' && \
(LC_ALL=C hg log | $(SED) -n 's,^\(user: *\([^<]*\) <.*\|.*(by \([^)]*\)).*\)$$,\2\3,p' | \
sort | uniq -c | sort -nr | \
$(SED) 's,^ *[0-9]* *\(.*\)$$, <li>\1</li>,') && \
- $(SED) '1,/<ul id="authors-list">/ d' '$(TOP_DIR)/doc/index.html' \
+ $(SED) '1,/<ul id="authors-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' \