Skip to content

Commit

Permalink
Use pandoc to generate manpages
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Jan 22, 2018
1 parent 06c9b34 commit 314cfcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
@@ -1,5 +1,6 @@
PREFIX ?= /usr/local
MANPREFIX ?= $(PREFIX)/share/man
PANDOC ?= $(shell which pandoc)

potfile: downgrade
xgettext \
Expand All @@ -9,8 +10,7 @@ potfile: downgrade
-o downgrade.pot ./downgrade

downgrade.8: doc/downgrade.8.md
kramdown-man doc/downgrade.8.md > doc/downgrade.8
[ -s doc/downgrade.8 ]
$(PANDOC) --standalone --to man doc/downgrade.8.md -o doc/downgrade.8

man: downgrade.8

Expand Down

0 comments on commit 314cfcd

Please sign in to comment.