summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-09-01 07:56:07 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-09-01 07:56:07 -0700
commit7ac6d3796b19beccf575ea6e3e6c66673561d9e6 (patch)
tree883d02fca0bd79049768324b17df6d564ba63606 /Makefile
parent30db50c5b6fe7dc80f4ffb7d84324606e8e12534 (diff)
Updated site for latest spec, narrative, js
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
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