Skip to content

Commit c9e90a8

Browse files
authored
Merge pull request #169 from eli-schwartz/command-v
build: fix building manpages on systems where asciidoc is already installed
2 parents 6130965 + 8e78376 commit c9e90a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
build-manpage: git-absorb.1
22

33
git-absorb.1: git-absorb.adoc
4-
$(if $(shell which a2x),,$(error "No a2x in PATH; install asciidoc."))
4+
$(if $(shell command -v a2x),,$(error "No a2x in PATH; install asciidoc."))
55
$(info Building manpage. This may take a few moments...)
66
a2x -L -d manpage -f manpage git-absorb.adoc --attribute man-version=${GA_VERSION}
77

0 commit comments

Comments
 (0)