mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-23 00:00:02 +03:00
rst2man: convert which
to command -v
Signed-off-by: Kayla Firestack <dev@kaylafire.me>
This commit is contained in:
parent
a77c35a1c4
commit
f403ef61e7
4
Makefile
4
Makefile
@ -66,9 +66,9 @@ else
|
|||||||
INITRAMFS_DIR=/etc/initramfs-tools
|
INITRAMFS_DIR=/etc/initramfs-tools
|
||||||
endif
|
endif
|
||||||
|
|
||||||
RST2MAN:=$(shell which rst2man)
|
RST2MAN:=$(shell command -v rst2man)
|
||||||
ifeq ($(RST2MAN),)
|
ifeq ($(RST2MAN),)
|
||||||
RST2MAN:=$(shell which rst2man.py)
|
RST2MAN:=$(shell command -v rst2man.py)
|
||||||
ifeq ($(RST2MAN),)
|
ifeq ($(RST2MAN),)
|
||||||
@echo "WARNING: no rst2man found! Man page not generated."
|
@echo "WARNING: no rst2man found! Man page not generated."
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user