cmark

Unnamed repository; edit this file 'description' to name the repository.

commit fa54bd814328faaf8116ec244c52c4eac0d512c0
parent a098f6ac517b8fbe64b286c46f831cd1794acaf1
Author: John MacFarlane <jgm@berkeley.edu>
Date:   Tue, 22 Jul 2014 10:41:34 -0700

Added upload to makefile.

Diffstat:
MMakefile | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -44,7 +44,7 @@ $(SRCDIR)/scanners.c: $(SRCDIR)/scanners.re
 $(SRCDIR)/case_fold_switch.c: $(DATADIR)/CaseFolding-3.2.0.txt
 	perl mkcasefold.pl < $< > $@
 
-.PHONY: leakcheck clean fuzztest dingus
+.PHONY: leakcheck clean fuzztest dingus upload
 
 dingus:
 	cd js && echo "Starting dingus server at http://localhost:9000" && python -m SimpleHTTPServer 9000
@@ -56,6 +56,9 @@ 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
 
+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