cmark

My personal build of CMark ✏️

Commit
fa54bd814328faaf8116ec244c52c4eac0d512c0
Parent
a098f6ac517b8fbe64b286c46f831cd1794acaf1
Author
John MacFarlane <jgm@berkeley.edu>
Date

Added upload to makefile.

Diffstat

1 file changed, 4 insertions, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified Makefile 5 4 1
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