X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/1e02192f91f833cd829710f40b2b2870903f9e1f..0f751fa01fb830163b378c9559fb6eae8cba4b46:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index 9e3d5a2..d939624 100644 --- a/Makefile +++ b/Makefile @@ -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: - @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..."