aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-07 09:30:02 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-07 09:30:02 -0800
commitaef7803ebf8704b90e310edabfa4d13f3e1cb0a0 (patch)
tree7697d8898986254f10fce99b0ffc9e9496f48fc9 /Makefile
parent2e3ab1464f9e4e8b00ebb15ea0f5a0afd2df7263 (diff)
Removed man/Makefile. Put target in main Makefile.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 097ad2d..02c869c 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ PROG?=$(BUILDDIR)/src/cmark
.PHONY: all spec leakcheck clean fuzztest dingus upload jshint test testjs benchjs update-site upload-site check
-all: check
+all: check man/man1/cmark.1
mkdir -p $(BUILDDIR); cd build; cmake ..; make
install: check
@@ -28,6 +28,9 @@ check:
$(PROG): all
+man/man1/cmark.1: man/cmark.1.md
+ pandoc $< -o $@ -s -t man
+
README.html: README.md template.html
pandoc --template template.html -S -s -t html5 -o $@ $<