cleaned up Makefile
This commit is contained in:
parent
51ec2690a8
commit
427ff66213
10
Makefile
10
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
|
||||
|
Loading…
Reference in New Issue
Block a user