summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2012-03-22 22:25:43 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2012-03-22 22:25:43 (GMT)
commitb8c40cbc783ea6b52d4252732f57e4f8da755ef5 (patch)
treeef89987d7a57661e15e2377752bd4ccb33de2f11 /Makefile
parenta2d2bf86c7613d44920d618a5f0ed1c8ec4d791b (diff)
downloadmxe-b8c40cbc783ea6b52d4252732f57e4f8da755ef5.zip
mxe-b8c40cbc783ea6b52d4252732f57e4f8da755ef5.tar.gz
mxe-b8c40cbc783ea6b52d4252732f57e4f8da755ef5.tar.bz2
Simplify code
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 65be6d4..91af1b0 100644
--- a/Makefile
+++ b/Makefile
@@ -244,9 +244,7 @@ dist:
$(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) '1d' && \
- $(SED) '1,/<ul id="authors-list"/ d' '$(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' \