From dc31167e9d4053fa000f52163afe74ea9d6fc751 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 7 Nov 2014 10:52:41 -0800 Subject: Moved site building targets to _site/Makefile. --- make_site_index.sh | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100755 make_site_index.sh (limited to 'make_site_index.sh') diff --git a/make_site_index.sh b/make_site_index.sh deleted file mode 100755 index 8a00018..0000000 --- a/make_site_index.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -SPECVERSION=$1 -SITE=_site -VERSIONS=`cd $SITE; ls -d -1 0.* | sort -r -g` - -echo "% CommonMark Spec" -echo "" -date=`grep '
' $SITE/$SPECVERSION/index.html | perl -pe 's/^.*(\d\d\d\d-\d\d-\d\d).*$/\1/'` -echo "[**Latest version ($SPECVERSION)**](/$SPECVERSION/) ($date)" -echo "" -echo "[discussion forum](http://talk.commonmark.org/) | " -echo "[interactive dingus](/dingus.html) | " -echo "[repository](https://github.com/jgm/CommonMark/)" -echo "" -echo "Older versions:" -echo "" -for vers in $VERSIONS - do - date=`grep '
' $SITE/$vers/index.html | perl -pe 's/^.*(\d\d\d\d-\d\d-\d\d).*$/\1/'` - if [ "$vers" != "$SPECVERSION" ]; then - perl -p -i -e 's/