aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-29 17:33:54 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-29 17:34:39 -0800
commit1bedbcee8a66eeb1d9dbaf172d237a1b8c84939a (patch)
tree99db0a9091bb0a5ee53a2c5adddc65348d0e8162 /Makefile
parentdc5345daad121be5ee38e673acd532e69d5f8e75 (diff)
Added very basic cmark.3 man page, added to install process.
This currently just contains a list of functions. It needs some accompanying text, commentary, examples. See #224.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2d9a483..8178455 100644
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ all: $(BUILDDIR)
check:
@cmake --version > /dev/null || (echo "You need cmake to build this program: http://www.cmake.org/download/" && exit 1)
-$(BUILDDIR): check $(SRCDIR)/html/html_unescape.h $(SRCDIR)/case_fold_switch.inc man/man1/cmark.1
+$(BUILDDIR): check $(SRCDIR)/html/html_unescape.h $(SRCDIR)/case_fold_switch.inc man/man1/cmark.1 man/man3/cmark.3
mkdir -p $(BUILDDIR); \
cd $(BUILDDIR); \
cmake .. -G "$(GENERATOR)" -DCMAKE_BUILD_TYPE=$(BUILD_TYPE)
@@ -74,6 +74,9 @@ $(PROG): all
man/man1/cmark.1: man/cmark.1.md
mkdir -p man/man1 && pandoc -t man -s $< -o $@
+man/man3/cmark.3: man/cmark.3.md
+ mkdir -p man/man3 && pandoc -t man -s $< -o $@
+
apidoc: src/cmark.h
doxygen Doxyfile