From c173dfe7e5146b85aa643cfde2c525d4c1688f21 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 2 Jun 2013 21:18:06 -0600 Subject: touch up the Makefile --- Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index cfbe4a9..5924f08 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,12 @@ -PREFIX=/usr/local +prefix=/usr/local -# in a bind, thes can all be set to the same directory -pbs-bindir = $(PREFIX)/lib/pbs-core -git-bindir = $(PREFIX)/lib/git-core -bindir = $(PREFIX)/bin libreconfdir = /etc/libretools.d +# in a bind, thes can all be set to the same directory +pbs-bindir = $(prefix)/lib/pbs-core +git-bindir = $(prefix)/lib/git-core +bindir = $(prefix)/bin + pbs-progs := $(shell printf '%s\n' pbs-* | fgrep -v .) git-progs := $(shell printf '%s\n' git-* | fgrep -v .) bin-progs = pbs @@ -27,7 +28,7 @@ clean: PHONY install: PHONY $(install-targets) uninstall: PHONY - for f in $(install-targets); do rm -f -- $(f); done + rm -f -- $(install-targets) # actual file rules -- cgit v1.1-4-g5e80