Mercurial > mxe-octave
changeset 2294:a32b61b19e35
Simplify code
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Thu, 22 Mar 2012 23:25:43 +0100 |
parents | acadaf0ccc24 |
children | d3810edc5cfd |
files | Makefile |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Thu Mar 22 23:19:40 2012 +0100 +++ b/Makefile Thu Mar 22 23:25:43 2012 +0100 @@ -244,9 +244,7 @@ $(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' \