diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2010-12-18 10:24:49 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2010-12-18 10:24:49 (GMT) |
commit | 92c305aaf399f931db15efff6812a56a09a6a1dc (patch) | |
tree | d3c211602d1f3abd66a1730fb974701d11926994 /Makefile | |
parent | c9bd5d95ace29a957a4d555fabe734eab6344215 (diff) | |
download | mxe-92c305aaf399f931db15efff6812a56a09a6a1dc.zip mxe-92c305aaf399f931db15efff6812a56a09a6a1dc.tar.gz mxe-92c305aaf399f931db15efff6812a56a09a6a1dc.tar.bz2 |
generate list of year for copyright message automatically from "hg log"
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -237,6 +237,7 @@ dist: | $(SED) 's,\(<span class="version">\)[^<]*\(</span>\),\1$(VERSION)\2,g' \ | $(SED) 's,\(<span class="target">\)[^<]*\(</span>\),\1$(TARGET)\2,g' \ | $(SED) 's,\(<span class="target-underscore">\)[^<]*\(</span>\),\1$(subst -,_,$(TARGET))\2,g' \ + | $(SED) 's;\(<span class="years">\)[^<]*\(</span>\);\1'"`LC_ALL=en_US.UTF-8 hg log | $(SED) -n 's,^date:.*\s\([0-9]\{4\}\)\s.*$$,\1,p' | sort -nu | $(SED) -n '1 h; 2,$$ H; $$ {x; s/\n/, /gp}'`"'\2;g' \ >'$(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/' |