From 05bd7217ed9e33341333b1bfd47a134889eff77c Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 27 Oct 2014 09:16:12 -0700 Subject: Include dates in list of versions. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a517083..30bf33a 100644 --- a/Makefile +++ b/Makefile @@ -92,7 +92,8 @@ fuzztest: _site/spec.html: spec.txt (echo "% CommonMark Spec\n";\ for vers in $(shell cd _site; ls -d -t 0.*) ; do \ - echo "- [Version $$vers](/$$vers/)" ; done) | \ + date=`stat -t "%Y-%m-%d" -f "%Sa" _site/$$vers/index.html`; \ + echo "- [Version $$vers ($$date)](/$$vers/)" ; done) | \ pandoc --template template.html -S -s -t html5 -o $@ _site/index.html: _site/spec.html -- cgit v1.2.3