summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-06-02 21:18:06 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-06-02 21:18:06 -0600
commitc173dfe7e5146b85aa643cfde2c525d4c1688f21 (patch)
tree8ec9508d0fac91973d74bcd07559819d9d7a5b70 /Makefile
parent115d0aec3a8d447e18298d177e55f73e4d534c99 (diff)
touch up the Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files 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