doc/Makefile: Use mrkd to generate manpages

This commit is contained in:
darosior 2019-08-10 01:23:11 +02:00 committed by Rusty Russell
parent 80927039e0
commit 76a4c5f287
2 changed files with 3 additions and 2 deletions

View File

@ -43,8 +43,8 @@ MANPAGES := doc/lightning-cli.1 \
doc-all: $(MANPAGES)
$(MANPAGES): doc/%: doc/%.txt
@if $(CHANGED_FROM_GIT); then echo a2x --format=manpage $<; a2x --format=manpage $<; else touch $@; fi
$(MANPAGES): doc/%: doc/%.md
@if $(CHANGED_FROM_GIT); then echo mrkd $<; mrkd $<; else touch $@; fi
doc/protocol-%.svg: test/test_protocol
test/test_protocol --svg < test/commits/$*.script > $@

View File

@ -5,3 +5,4 @@ Sphinx==1.8.4
commonmark==0.8.1
commonmark==0.8.1
recommonmark==0.5.0
git+git://github.com/darosior/mrkd@79a7365dc6c81a8458ff33ad69ef469edacc6daa