From be6f518925a5d294e4a9a418f5e5d70fe91b96cb Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 14 Aug 2014 11:04:29 -0700 Subject: Added update-site target to Makefile. This assumes we've checked out the gh-pages branch as _site. --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 49ba83c..22d1105 100644 --- a/Makefile +++ b/Makefile @@ -59,10 +59,16 @@ fuzztest: for i in `seq 1 10`; do \ time cat /dev/urandom | head -c 100000 | iconv -f latin1 -t utf-8 | $(PROG) >/dev/null; done +update-site: README.html spec.html + cp README.html _site/index.html + cp spec.html _site/ + cp -r js/* _site/js/* + upload: spec.html spec.pdf scp spec.html spec.pdf js/stmd.js js/index.html website:html/markdown/ clean: -rm test $(SRCDIR)/*.o $(SRCDIR)/scanners.c -rm -r *.dSYM + -rm README.html -rm spec.md fuzz.txt spec.html -- cgit v1.2.3