Fix formatting of Makefile

This commit is contained in:
Sam 2024-02-15 15:39:55 +00:00
parent 8fe759673d
commit 33244c1994
1 changed files with 13 additions and 13 deletions

View File

@ -1,18 +1,18 @@
install: install:
sudo apt-get update && sudo apt-get install -y python3.11 python3.11-venv sudo apt-get update && sudo apt-get install -y python3.11 python3.11-venv
python3.11 -m venv /opt/remindme_caldav/.venv python3.11 -m venv /opt/remindme_caldav/.venv
source /opt/remindme_caldav/.venv/bin/activate && pip install --upgrade pip && pip install -r requirements.txt source /opt/remindme_caldav/.venv/bin/activate && pip install --upgrade pip && pip install -r requirements.txt
cp remindme_caldav.py /opt/remindme_caldav/ cp remindme_caldav.py /opt/remindme_caldav/
sudo cp remindme_caldav.service /etc/systemd/system/ sudo cp remindme_caldav.service /etc/systemd/system/
sudo systemctl daemon-reload sudo systemctl daemon-reload
sudo systemctl enable remindme_caldav.service sudo systemctl enable remindme_caldav.service
sudo systemctl start remindme_caldav.service sudo systemctl start remindme_caldav.service
uninstall: uninstall:
sudo systemctl stop remindme_caldav.service sudo systemctl stop remindme_caldav.service
sudo systemctl disable remindme_caldav.service sudo systemctl disable remindme_caldav.service
rm -rf /opt/remindme_caldav rm -rf /opt/remindme_caldav
rm /etc/systemd/system/remindme_caldav.service rm /etc/systemd/system/remindme_caldav.service
clean: clean:
deactivate deactivate