diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2009-06-03 13:01:05 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2009-06-03 13:01:05 (GMT) |
commit | ea8a21e12e15208d34f0b3acfa12bb03f3c213f8 (patch) | |
tree | fa2ad027b71bb5b5a158ad832a2afc51e840455f /Makefile | |
parent | 5374e69174e79923605853b65caa2b3a805e065a (diff) | |
download | mxe-ea8a21e12e15208d34f0b3acfa12bb03f3c213f8.zip mxe-ea8a21e12e15208d34f0b3acfa12bb03f3c213f8.tar.gz mxe-ea8a21e12e15208d34f0b3acfa12bb03f3c213f8.tar.bz2 |
introduce placeholders for version number and target in the tutorial
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -154,7 +154,10 @@ dist: ($(foreach PKG,$(PKG_RULES), \ echo ' <tr><td><a href="$($(PKG)_WEBSITE)">$(PKG)</a></td><td>$($(PKG)_VERSION)</td></tr>';)) && \ $(SED) -n '/<!-- end of package list -->/,$$ p' '$(TOP_DIR)/doc/index.html' \ - ) >'$(TOP_DIR)/index.html' + ) \ + | $(SED) 's,\(<span class="version">\)[^<]*\(</span>\),\1$(VERSION)\2,g' \ + | $(SED) 's,\(<span class="target">\)[^<]*\(</span>\),\1$(TARGET)\2,g' \ + >'$(TOP_DIR)/index.html' cp -p '$(TOP_DIR)/index.html' 'mingw_cross_env-$(VERSION)/doc/' cd 'mingw_cross_env-$(VERSION)/doc' && lynx -dump -width 75 -nolist -force_html index.html >README cp -p '$(TOP_DIR)/Makefile' 'mingw_cross_env-$(VERSION)/' |