X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/5101db33a662db9417a0816a440ced20200f8a91..2e13fbee53bebdd23978c760e544cd71ffd688d7:/Makefile?ds=inline diff --git a/Makefile b/Makefile index 4ae8d88..ca6ebe6 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -PREFIX=/usr +PREFIX?=/usr DOCDIR_PREFIX=$(PREFIX)/share/doc DOCDIR=$(DOCDIR_PREFIX)/$(self) ZSHDIR=$(PREFIX)/share/zsh/vendor-completions @@ -47,4 +47,4 @@ test: @if which git > /dev/null ; then :; else echo "'git' not found, exiting..."; exit 1; fi moo: - @if [ -x /usr/games/cowsay ]; then /usr/games/cowsay "I hope you're happy now..."; fi + @ which cowsay >/dev/null 2>&1 && cowsay "I hope you're happy now..."