summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index cd8b97d..ff0e394 100644
--- a/Makefile
+++ b/Makefile
@@ -21,10 +21,13 @@ build/%.o: src/%.c
$(CC) -c $< -o $@
install: all
- $(INSTALL_PROGRAM) $(TARGET_EXEC) $(bindir)/xbot
+ mkdir -p $(HOME)/.config/xbot/
+ touch $(HOME)/.config/xbot/profile.ini
+ chmod 600 $(HOME)/.config/xbot/profile.ini
+ sudo $(INSTALL_PROGRAM) $(TARGET_EXEC) $(bindir)/xbot
uninstall:
- rm -f $(bindir)/xbot
+ sudo rm -f $(bindir)/xbot
.PHONY: clean uninstall
clean: