X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/056f86ae9a3c25fd2e0b74ac6b81d9b0d5630818..36fc049881253a38f0b72d6d6aeb01c1295b8a2c:/Makefile diff --git a/Makefile b/Makefile index b40c618..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 @@ -6,7 +6,7 @@ RONN ?= ronn self=vcsh manpages=$(self).1 -all=test +all=test manpages all: $(all) @@ -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..."