X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/30643948aaf9e19efd5a0b7d2c9291a945169b71..f0048fa3ba6c5286947137c9b829093cb8299fc8:/Makefile diff --git a/Makefile b/Makefile index 31ac2e4..d939624 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,8 @@ 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 + @if which prove > /dev/null; then prove; else echo "'prove' not found; not running tests"; fi moo: @ which cowsay >/dev/null 2>&1 && cowsay "I hope you're happy now..."