-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (22 loc) · 687 Bytes
/
Makefile
File metadata and controls
28 lines (22 loc) · 687 Bytes
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
all:
@echo "Nothing to build"
install_module:
@echo "Installing Python module"
python setup.py install --record files.txt
install_service:
@echo "Installing QuerierD service"
cp lib/systemd/system/querierd.service /lib/systemd/system
systemctl daemon-reload
systemctl start querierd.service
systemctl enable querierd.service
install: install_module install_service
uninstall_module:
@echo "Removing Python module"
cat files.txt | xargs rm -rf
rm files.txt
uninstall_service:
@echo "Uninstalling QuerierD service"
systemctl stop querierd.service
systemctl disable querierd.service
rm /lib/systemd/system/querierd.service
uninstall: uninstall_module uninstall_service