summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-29 10:50:19 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-29 10:50:19 -0800
commit1a44d5bc9bb6178f254a96d3e694dd4c9f4ffecb (patch)
tree6ebadece01a36dbc5556e6c8f6c5d46bcc836197 /Makefile
parentad8b39e550f2ff9a8b8e409d1654fc26135dc9fa (diff)
Moved man page generation to man/CMakeLists.txt.
Removed doxygen stuff for now. It seems too complex for what we need. We'll find another way to create cmark.3.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index a11e1da..fe2b8d2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,4 @@
SRCDIR?=src
-DOCDIR=doc
DATADIR?=data
BUILDDIR?=build
GENERATOR?=Unix Makefiles
@@ -70,16 +69,13 @@ archive: spec.html $(BUILDDIR) man/man3/cmark.3 man/man1/cmark.1
echo "Created $(TARBALL) and $(ZIPARCHIVE)."
clean:
- rm -rf $(BUILDDIR) $(MINGW_BUILDDIR) $(MINGW_INSTALLDIR) $(TARBALL) $(ZIPARCHIVE) $(PKGDIR) $(DOCDIR)
+ rm -rf $(BUILDDIR) $(MINGW_BUILDDIR) $(MINGW_INSTALLDIR) $(TARBALL) $(ZIPARCHIVE) $(PKGDIR)
$(PROG): all
apidoc: src/cmark.h
doxygen Doxyfile
-$(DOCDIR)/man/man3/cmark.h.3: src/cmark.h
- doxygen Doxyfile
-
# We include html_unescape.h in the repository, so this shouldn't
# normally need to be generated.
$(SRCDIR)/html/html_unescape.h: $(SRCDIR)/html/html_unescape.gperf
@@ -97,9 +93,6 @@ man/man1/cmark.1: man/cmark.1.md
man/man3:
mkdir -p $@
-man/man3/cmark.3: $(DOCDIR)/man/man3/cmark.h.3 man/man3
- cp $< $@
-
test: $(SPEC) $(BUILDDIR)
make -C $(BUILDDIR) test ARGS="-V"