From 1a44d5bc9bb6178f254a96d3e694dd4c9f4ffecb Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 29 Nov 2014 10:50:19 -0800 Subject: 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. --- Makefile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'Makefile') 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" -- cgit v1.2.3