From 7ac6d3796b19beccf575ea6e3e6c66673561d9e6 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 1 Sep 2014 07:56:07 -0700 Subject: Updated site for latest spec, narrative, js --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 042b143..c40b226 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ testjs: spec.txt # perl runtests.pl js/markdown $< benchjs: - node js/bench.js + node js/bench.js ${BENCHINP} $(PROG): $(SRCDIR)/main.c $(SRCDIR)/inlines.o $(SRCDIR)/blocks.o $(SRCDIR)/detab.o $(SRCDIR)/bstrlib.o $(SRCDIR)/scanners.o $(SRCDIR)/print.o $(SRCDIR)/html.o $(SRCDIR)/utf8.o $(CC) $(LDFLAGS) -o $@ $^ @@ -62,10 +62,14 @@ 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 narrative.html +update-site: spec.html narrative.html cp spec.html _site/ cp narrative.html _site/index.html cp -r js/* _site/js/ + cd _site + git commit -a -m "Updated site for latest spec, narrative, js" + git push + cd .. clean: -rm test $(SRCDIR)/*.o $(SRCDIR)/scanners.c -- cgit v1.2.3