From aef7803ebf8704b90e310edabfa4d13f3e1cb0a0 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 7 Nov 2014 09:30:02 -0800 Subject: Removed man/Makefile. Put target in main Makefile. --- Makefile | 5 ++++- man/Makefile | 7 ------- 2 files changed, 4 insertions(+), 8 deletions(-) delete mode 100644 man/Makefile 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 $@ $< diff --git a/man/Makefile b/man/Makefile deleted file mode 100644 index f5a5fad..0000000 --- a/man/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -ALL=man1/cmark.1 - -.PHONY: all - -all: $(ALL) -man1/%.1: %.1.md - pandoc $< -o $@ -s -t man -- cgit v1.2.3