diff options
-rw-r--r-- | Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -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 |