diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2010-02-07 10:41:54 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2010-02-07 10:41:54 (GMT) |
commit | ce8c6a6ce1b3f75d52e4c4d41a0fc95a20ae3f9b (patch) | |
tree | 98a179974d9fc7783c2581ac83cbe9744d5dd8be /Makefile | |
parent | a72939270a609734bf4b319cb1e26e927e49a76f (diff) | |
download | mxe-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-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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' \ |