Skip to content

Commit 8b3d446

Browse files
committed
make: allow the asciidoc command to be altered
Prefering the reference AsciiDoc implementation for now, but as the Python 2.7 EOL nears, at least have an easy out if the software can’t be used anymore.
1 parent c44a66c commit 8b3d446

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Makefile for reflac
22

3-
# asciidoc is required to generate the manpage.
3+
# This can be changed to "asciidoctor -b manpage" if necessary.
4+
ASCIIDOC?=a2x -f manpage
45

56
# Autotools-like prefix, mandir, and DESTDIR variables can be
67
# overriden to control where files are installed.
@@ -13,7 +14,7 @@ all: man
1314
man: reflac.1
1415

1516
reflac.1: reflac.adoc
16-
a2x -f manpage reflac.adoc
17+
$(ASCIIDOC) reflac.adoc
1718

1819
install: reflac.1
1920
install -Dm 755 reflac "$(target)/bin/reflac"

0 commit comments

Comments
 (0)