diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2010-02-07 10:45:03 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2010-02-07 10:45:03 (GMT) |
commit | c1cf5a56896db238122206bc11c1939bc34041b3 (patch) | |
tree | 38936f0a12c3995c665f07ae2b0a9418b9a6a782 /Makefile | |
parent | ce8c6a6ce1b3f75d52e4c4d41a0fc95a20ae3f9b (diff) | |
download | mxe-c1cf5a56896db238122206bc11c1939bc34041b3.zip mxe-c1cf5a56896db238122206bc11c1939bc34041b3.tar.gz mxe-c1cf5a56896db238122206bc11c1939bc34041b3.tar.bz2 |
handle special characters correctly in "make dist"
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -220,7 +220,7 @@ dist: 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' && \ - (LC_ALL=C hg log | $(SED) -n 's,^\(user: *\([^<]*\) <.*\|.*(by \([^)]*\)).*\)$$,\2\3,p' | \ + (LC_ALL=en_US.UTF-8 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' \ @@ -230,7 +230,7 @@ dist: >'$(DIST_DIR)/mingw-cross-env-$(VERSION)/doc/index.html' cp -p '$(TOP_DIR)/doc'/screenshot-* '$(DIST_DIR)/mingw-cross-env-$(VERSION)/doc/' cp -p '$(DIST_DIR)/mingw-cross-env-$(VERSION)/doc'/* '$(DIST_DIR)/web/' - (cd '$(TOP_DIR)' && LC_ALL=C hg log -v --style changelog) >'$(DIST_DIR)/mingw-cross-env-$(VERSION)/doc/ChangeLog' + (cd '$(TOP_DIR)' && LC_ALL=en_US.UTF-8 hg log -v --style changelog) >'$(DIST_DIR)/mingw-cross-env-$(VERSION)/doc/ChangeLog' cd '$(DIST_DIR)/mingw-cross-env-$(VERSION)/doc' && lynx -dump -width 75 -nolist -force_html index.html >README cp -p '$(TOP_DIR)/Makefile' '$(DIST_DIR)/mingw-cross-env-$(VERSION)/' cp -p '$(TOP_DIR)/src'/*.mk '$(DIST_DIR)/mingw-cross-env-$(VERSION)/src/' |