mirror of https://git.wownero.com/dsc/mxe.git
Simplify code
This commit is contained in:
parent
a2d2bf86c7
commit
b8c40cbc78
4
Makefile
4
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' \
|
||||
|
|
Loading…
Reference in New Issue