summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Lievisse Adriaanse <jasper@humppa.nl>2012-04-28 18:46:24 +0200
committerMichael Stapelberg <michael@stapelberg.de>2012-04-29 11:14:15 +0200
commita6cd2077419b28db905315ac0abe5705315d52c0 (patch)
tree746d17bea55d954751c76897838a653fce0fadcf
parentaabac78fd0c5fa0ef3ec46080acc788a32a1ef9c (diff)
Allow overriding of a2x in the environment; as it may also be installed as a2x.py
-rw-r--r--man/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/man/Makefile b/man/Makefile
index 4e06a1e..ffcb80c 100644
--- a/man/Makefile
+++ b/man/Makefile
@@ -1,6 +1,8 @@
all: i3status.1
+A2X?=a2x
+
i3status.1: asciidoc.conf i3status.man
- a2x -f manpage --asciidoc-opts="-f asciidoc.conf" i3status.man
+ ${A2X} -f manpage --asciidoc-opts="-f asciidoc.conf" i3status.man
clean:
rm -f i3status.xml i3status.1 i3status.html