systemd-gotify/makefile

14 lines
565 B
Makefile
Raw Permalink Normal View History

default:
gcc main.c config.c -lcurl -Wall -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -ldbus-1 -o systemd-gotify.bin
install:
2024-09-16 09:46:42 +00:00
sudo cp ./systemd-gotify.bin /usr/local/bin/systemd-gotify
mkdir -p $${HOME}/.config/systemd-gotify/
cp -i config $${HOME}/.config/systemd-gotify/config
2024-09-16 09:50:02 +00:00
uninstall:
sudo rm /usr/local/bin/systemd-gotify
rm $${HOME}/.config/systemd-gotify/config
rm $${HOME}/.config/systemd-gotify/ -r
2024-09-16 10:02:59 +00:00
service-files:
mkdir -p $${HOME}/.config/systemd/user/
cp -i ./systemd-gotify.service $${HOME}/.config/systemd/user/systemd-gotify.service