Skip to content

Commit 76a4c5f

Browse files
darosiorrustyrussell
authored andcommittedAug 22, 2019
doc/Makefile: Use mrkd to generate manpages
1 parent 8092703 commit 76a4c5f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
 

‎doc/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ MANPAGES := doc/lightning-cli.1 \
4343

4444
doc-all: $(MANPAGES)
4545

46-
$(MANPAGES): doc/%: doc/%.txt
47-
@if $(CHANGED_FROM_GIT); then echo a2x --format=manpage $<; a2x --format=manpage $<; else touch $@; fi
46+
$(MANPAGES): doc/%: doc/%.md
47+
@if $(CHANGED_FROM_GIT); then echo mrkd $<; mrkd $<; else touch $@; fi
4848

4949
doc/protocol-%.svg: test/test_protocol
5050
test/test_protocol --svg < test/commits/$*.script > $@

‎doc/requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ Sphinx==1.8.4
55
commonmark==0.8.1
66
commonmark==0.8.1
77
recommonmark==0.5.0
8+
git+git://github.com/darosior/mrkd@79a7365dc6c81a8458ff33ad69ef469edacc6daa

0 commit comments

Comments
 (0)
Please sign in to comment.