From 427ff66213f9b9ae769216e5ec8dc28a96092b1e Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Sat, 4 Jul 2020 20:26:30 +0200 Subject: [PATCH] cleaned up Makefile --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 8f5835c..6af81a1 100644 --- a/Makefile +++ b/Makefile @@ -4,21 +4,21 @@ VERSION = 1.1 # paths -PREFIX = ~/.local/bin +DESTDIR= ~/.local/bin DATA_DIR = ~/.local/share/bt#if changed, needs adjustment in bt as well (defined in the beginning) SRC = bt install: - mkdir -p $(DESTDIR)$(PREFIX) + mkdir -p $(DESTDIR) mkdir -p $(DATA_DIR) - cp -f bt $(DESTDIR)$(PREFIX) - chmod 755 $(DESTDIR)$(PREFIX)/bt + cp -f bt $(DESTDIR)/bt + chmod 755 $(DESTDIR)/bt touch $(DATA_DIR)/blacklist touch $(DATA_DIR)/paired uninstall: - rm -f $(DESTDIR)$(PREFIX)/bt + rm -f $(DESTDIR)/bt rm -rf $(DATA_DIR) #clears manual paired devices list and blacklist