]> git.sesse.net Git - bcachefs-tools-debian/commitdiff
Merge remote-tracking branch 'firestack/dev/nix/add-which'
authorKent Overstreet <kent.overstreet@gmail.com>
Tue, 19 Oct 2021 18:32:04 +0000 (14:32 -0400)
committerKent Overstreet <kent.overstreet@gmail.com>
Tue, 19 Oct 2021 18:32:04 +0000 (14:32 -0400)
Makefile

index ee3f8fbc72eb516750582f5fdf8547b5c0afd882..d7886276b663e5b1effdca3d10c74b2d2cb52418 100644 (file)
--- 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