initial commit
This commit is contained in:
13
makefile
Normal file
13
makefile
Normal file
@@ -0,0 +1,13 @@
|
||||
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:
|
||||
sudo cp ./systemd-gotify.bin /usr/local/bin/systemd-gotify
|
||||
mkdir -p $${HOME}/.config/systemd-gotify/
|
||||
cp -i config $${HOME}/.config/systemd-gotify/config
|
||||
uninstall:
|
||||
sudo rm /usr/local/bin/systemd-gotify
|
||||
rm $${HOME}/.config/systemd-gotify/config
|
||||
rm $${HOME}/.config/systemd-gotify/ -r
|
||||
service-files:
|
||||
mkdir -p $${HOME}/.config/systemd/user/
|
||||
cp -i ./systemd-gotify.service $${HOME}/.config/systemd/user/systemd-gotify.service
|
||||
Reference in New Issue
Block a user