summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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