summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKayla Firestack <dev@kaylafire.me>2021-10-19 14:28:14 -0400
committerKayla Firestack <dev@kaylafire.me>2021-10-19 14:28:34 -0400
commitf403ef61e7f6744bc50f2a2325e274525b6df776 (patch)
treefdbfb97d59c2d2ed57790aa2b5d8da17ec1394a3 /Makefile
parenta77c35a1c40c623833bdaca3286fae318a43255a (diff)
rst2man: convert `which` to `command -v`
Signed-off-by: Kayla Firestack <dev@kaylafire.me>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ee3f8fbc..d7886276 100644
--- a/Makefile
+++ b/Makefile
@@ -66,9 +66,9 @@ else
INITRAMFS_DIR=/etc/initramfs-tools
endif
-RST2MAN:=$(shell which rst2man)
+RST2MAN:=$(shell command -v rst2man)
ifeq ($(RST2MAN),)
- RST2MAN:=$(shell which rst2man.py)
+ RST2MAN:=$(shell command -v rst2man.py)
ifeq ($(RST2MAN),)
@echo "WARNING: no rst2man found! Man page not generated."
endif