aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-10-26 13:27:38 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-10-26 13:27:38 -0700
commit652ac3088bd40df5a2db9a14c0f50d9c17ffd221 (patch)
tree95864db672b8c8192dc3ab04ada8ebc8d1f05428 /Makefile
parente618715636a3bd60930bea34d214b3aaf8e9e766 (diff)
Removed narrative.md, moved its content to README.md.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index e545794..9ca8eb2 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ CFLAGS?=-g -O3 -Wall -Wextra -std=c99 -Isrc -Wno-missing-field-initializers -fPI
LDFLAGS?=-g -O3 -Wall -Werror
SRCDIR?=src
DATADIR?=data
-BENCHINP?=narrative.md
+BENCHINP?=README.md
PROG?=./cmark
JSMODULES=$(wildcard js/lib/*.js)
PREFIX?=/usr/local
@@ -22,9 +22,6 @@ spec.md: spec.txt
spec.html: spec.md template.html
pandoc --no-highlight --number-sections --template template.html -s --toc -S $< > $@ # | perl -pe 's/␣/<span class="space"> <\/span>/g' > $@
-narrative.html: narrative.md template.html
- pandoc --template template.html -s -S $< -o $@
-
spec.pdf: spec.md template.tex specfilter.hs
pandoc -s $< --template template.tex \
--filter ./specfilter.hs -o $@ --latex-engine=xelatex --toc \
@@ -90,13 +87,13 @@ 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: spec.html narrative.html js/commonmark.js
+update-site: spec.html js/commonmark.js
cp spec.html _site/
- cp narrative.html _site/index.html
+ echo "TODO" > _site/index.html
cp js/index.html _site/js/
cp js/commonmark.js _site/js/
cp js/LICENSE _site/js/
- (cd _site ; git pull ; git commit -a -m "Updated site for latest spec, narrative, js" ; git push; cd ..)
+ (cd _site ; git pull ; git commit -a -m "Updated site for latest spec, js" ; git push; cd ..)
clean:
-rm -f test $(SRCDIR)/*.o $(SRCDIR)/scanners.c $(SRCDIR)/html/*.o libcmark.so