Fakerr / git-recall

An interactive way to peruse your git history from the terminal
MIT License
2.12k stars 47 forks source link

Allow to override Makefile prefix variables #33

Closed kiela closed 7 years ago

kiela commented 7 years ago

Why you made this change:

On a shared server not all users are granted with write access to the /usr/local dir. I did it to allow installing git-recall in chosen path i.e. /home/kiela dir.

How the change addresses the need:

It allows overriding PREFIX and BINPREFIX variables when needed. Otherwise set them to default values.

Testing procedure:

  1. Install git-recall to your home dir:
PREFIX=$HOME make install
  1. Now you should have git-recall in your $HOME/bin dir.

  2. Uninstall git-recall from your home dir:

PREFIX=$HOME make uninstall