X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/73658dcd2c73106375cab7f649bce7be02836ca0..83ae3460b51c674802a6ab4859cbe8450e9e210c:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index ca6ebe6..b9154e7 100644 --- a/Makefile +++ b/Makefile @@ -40,11 +40,12 @@ uninstall: purge: uninstall rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(PREFIX)/bin/ rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(PREFIX)/share/man/man1/ - rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(DOCDIR_PREFIX) + rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(DOCDIR) 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..." + @which cowsay >/dev/null 2>&1 && cowsay "I hope you're happy now..."