forked from mainsail-crew/sonar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
39 lines (32 loc) · 806 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#### Sonar - A WiFi Keepalive daemon
####
#### Written by Stephan Wendel aka KwadFan <me@stephanwe.de>
#### Copyright 2022
#### https://github.com/mainsail-crew/sonar
####
#### This File is distributed under GPLv3
####
.PHONY: config help install uninstall
all: help
help:
@echo "This is intended to install sonar."
@echo ""
@echo "Some Parts need 'sudo' privileges."
@echo "You'll be asked for password, if needed."
@echo ""
@echo " Usage: make [action]"
@echo ""
@echo " Available actions:"
@echo ""
@echo " install Installs sonar"
@echo " uninstall Uninstalls sonar"
@echo " config configure installer"
@echo ""
config:
@bash -c 'tools/configure.sh'
install:
@bash -c 'tools/install.sh'
uninstall:
@bash -c 'tools/uninstall.sh'
update:
git fetch && git pull