mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
doc/Makefile: Use mrkd to generate manpages
This commit is contained in:
parent
80927039e0
commit
76a4c5f287
@ -43,8 +43,8 @@ MANPAGES := doc/lightning-cli.1 \
|
|||||||
|
|
||||||
doc-all: $(MANPAGES)
|
doc-all: $(MANPAGES)
|
||||||
|
|
||||||
$(MANPAGES): doc/%: doc/%.txt
|
$(MANPAGES): doc/%: doc/%.md
|
||||||
@if $(CHANGED_FROM_GIT); then echo a2x --format=manpage $<; a2x --format=manpage $<; else touch $@; fi
|
@if $(CHANGED_FROM_GIT); then echo mrkd $<; mrkd $<; else touch $@; fi
|
||||||
|
|
||||||
doc/protocol-%.svg: test/test_protocol
|
doc/protocol-%.svg: test/test_protocol
|
||||||
test/test_protocol --svg < test/commits/$*.script > $@
|
test/test_protocol --svg < test/commits/$*.script > $@
|
||||||
|
@ -5,3 +5,4 @@ Sphinx==1.8.4
|
|||||||
commonmark==0.8.1
|
commonmark==0.8.1
|
||||||
commonmark==0.8.1
|
commonmark==0.8.1
|
||||||
recommonmark==0.5.0
|
recommonmark==0.5.0
|
||||||
|
git+git://github.com/darosior/mrkd@79a7365dc6c81a8458ff33ad69ef469edacc6daa
|
||||||
|
Loading…
Reference in New Issue
Block a user