summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-07-22 10:41:34 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-08-13 22:56:32 -0700
commitfa54bd814328faaf8116ec244c52c4eac0d512c0 (patch)
tree9efa97e001433dee5de5af81692c6b886992c9b7 /Makefile
parenta098f6ac517b8fbe64b286c46f831cd1794acaf1 (diff)
Added upload to makefile.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 98d0c45..7a77e8e 100644
--- 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