- Commit
- be6f518925a5d294e4a9a418f5e5d70fe91b96cb
- Parent
- 5d62d4af084d481eca37f66d99586a9712d56b7d
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Added update-site target to Makefile.
This assumes we've checked out the gh-pages branch as _site.
My personal build of CMark ✏️
Added update-site target to Makefile.
This assumes we've checked out the gh-pages branch as _site.
1 file changed, 6 insertions, 0 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | Makefile | 6 | 6 | 0 |
diff --git a/Makefile b/Makefile @@ -59,10 +59,16 @@ 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 + cp README.html _site/index.html + cp spec.html _site/ + cp -r js/* _site/js/* + 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 + -rm README.html -rm spec.md fuzz.txt spec.html