om

om - the most recently modified file in a directory
git clone git://git.larryhynes.net/om
Log | Files | Refs | README | LICENSE

commit e8aa3dec6082a93dd0a64e8df1e82e55fcb7bae7
parent d2585849c94990821e2fc379adbfa68dd541e67a
Author: Larry Hynes <larry@larryhynes.com>
Date:   Sun, 29 Oct 2017 12:14:41 +0000

Use PREFIX in Makefile

- So `make` `make install PREFIX=$HOME/local` etc. will work

Diffstat:
Makefile | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,7 +1,8 @@ CFLAGS += -Wall -Wextra -pedantic -BINDIR=/usr/local/bin -MANDIR=/usr/local/share/man/man1 +PREFIX=/usr/local +BINDIR=$(PREFIX)/bin +MANDIR=$(PREFIX)/share/man/man1 all: om