diff options
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -BINS :=tf2_watch +BINS := tf2_watch ifeq ($(PREFIX),) PREFIX := /usr/local @@ -16,5 +16,5 @@ install: uninstall: for bin in $(BINS); do \ - rm -rf $(DESTDIR)$(BINDIR)/$$bin; \ + rm -rf $(DESTDIR)$(PREFIX)$(BINDIR)/$$bin; \ done |