diff options
author | jakob.stendahl <jakob.stendahl@infomedia.dk> | 2024-07-13 15:05:11 +0200 |
---|---|---|
committer | jakob.stendahl <jakob.stendahl@infomedia.dk> | 2024-07-13 15:05:11 +0200 |
commit | 7c52e13134c29dbde4f7678be1be431b62afe91f (patch) | |
tree | 3d49cd3b64af9a3c0e6aae2871f2cd5526425535 /Makefile | |
parent | ed74ab2d27460ec11a29f6d005a003d69104d7c5 (diff) | |
download | simple-notification-daemon-7c52e13134c29dbde4f7678be1be431b62afe91f.tar.gz simple-notification-daemon-7c52e13134c29dbde4f7678be1be431b62afe91f.zip |
Add systemd service, add clear method call, add paging to snotifc
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -4,7 +4,7 @@ CFLAGS = -g -Wall -O ${CFLAGS_DBUS} DEST = -.PHONY: clean +.PHONY: install clean all: snotifd snotifc o_files := $(patsubst %.c,%.o,$(wildcard *.c)) @@ -19,8 +19,11 @@ snotifc: ${o_files} ${GCC} -o $@ $@.o snotif.o ${CFLAGS} -lncursesw install: snotifc snotifd - install snotifd ${DEST}/usr/local/bin/snotifd - install snotifc ${DEST}/usr/local/bin/snotifc + install snotifd ${HOME}/bin/snotifd + install snotifc ${HOME}/bin/snotifc + mkdir -p ${XDG_CONFIG_HOME}/systemd/user/ + install snotifd.service ${XDG_CONFIG_HOME}/systemd/user/ + systemctl --user daemon-reload clean: rm -f *.o |