X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/c0d0f80513f26e7b6a485bbd6239191a3fe4be59..ae830175f5c0e4896e54d2b140fc09b2e95b5b7a:/Makefile diff --git a/Makefile b/Makefile index ebe4b2b..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 @@ -44,7 +44,7 @@ purge: uninstall rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(ZSHDIR) test: - if which git > /dev/null ; then :; else echo "'git' not found, exiting..."; exit 1; fi + @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..."