From 92c305aaf399f931db15efff6812a56a09a6a1dc Mon Sep 17 00:00:00 2001 From: Volker Grabsch Date: Sat, 18 Dec 2010 11:24:49 +0100 Subject: generate list of year for copyright message automatically from "hg log" --- Makefile | 1 + doc/index.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a31609c..042a090 100644 --- a/Makefile +++ b/Makefile @@ -237,6 +237,7 @@ dist: | $(SED) 's,\(\)[^<]*\(\),\1$(VERSION)\2,g' \ | $(SED) 's,\(\)[^<]*\(\),\1$(TARGET)\2,g' \ | $(SED) 's,\(\)[^<]*\(\),\1$(subst -,_,$(TARGET))\2,g' \ + | $(SED) 's;\(\)[^<]*\(\);\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/' diff --git a/doc/index.html b/doc/index.html index ed4b150..36081b9 100644 --- a/doc/index.html +++ b/doc/index.html @@ -1080,7 +1080,7 @@ https://...
- + -- cgit v0.12