summary refs log tree commit diff
path: root/extra/notify/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-04-30 19:35:40 -0400
committerJune McEnroe <june@causal.agency>2021-04-30 19:35:40 -0400
commit70651e35d84bca8a4acadf9dfec6a58933e70471 (patch)
treeccd19e0caab35a02161803dc3494afa2850e6f3b /extra/notify/Makefile
parentnotify: Add prospective manual page for pounce-notify (diff)
downloadpounce-70651e35d84bca8a4acadf9dfec6a58933e70471.tar.gz
pounce-70651e35d84bca8a4acadf9dfec6a58933e70471.zip
notify: Implement pounce-notify
Diffstat (limited to '')
-rw-r--r--extra/notify/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/notify/Makefile b/extra/notify/Makefile
new file mode 100644
index 0000000..b82094f
--- /dev/null
+++ b/extra/notify/Makefile
@@ -0,0 +1,26 @@
+PREFIX ?= /usr/local
+MANDIR ?= ${PREFIX}/share/man
+
+CFLAGS += -std=c11 -Wall -Wextra -Wpedantic
+LDLIBS = -ltls
+
+-include config.mk
+
+OBJS = notify.o
+
+all: pounce-notify
+
+pounce-notify: ${OBJS}
+	${CC} ${LDFLAGS} ${OBJS} ${LDLIBS} -o $@
+
+clean:
+	rm -f ${OBJS} pounce-notify
+
+install: pounce-notify pounce-notify.1
+	install -d ${DESTDIR}${PREFIX}/bin ${DESTDIR}${MANDIR}/man1
+	install pounce-notify ${DESTDIR}${PREFIX}/bin
+	install -m 644 pounce-notify.1 ${DESTDIR}${MANDIR}/man1
+
+uninstall:
+	rm -f ${DESTDIR}${PREFIX}/bin/pounce-notify
+	rm -f ${DESTDIR}${MANDIR}/man1/pounce-notify.1
is probably such a mess now... 2020-09-11Add debian VM name to sshJune McEnroe 2020-09-11Add influencer tweetJune McEnroe 2020-09-10Add The Kingdom of GodsJune McEnroe Reading has really slowed down :( 2020-09-07Add SunglassesJune McEnroe An IRC find. 2020-09-06Add Between the BreathsJune McEnroe One of those good songs from a soundtrack of a film that probably isn't? The summary sounds a lot more interesting than the title implies, at least. 2020-09-04Open /dev/tty in nudgeJune McEnroe This makes it work even when it's run connected to a pipe, i.e. as the notify command of catgirl... 2020-09-04Add nudgeJune McEnroe 2020-09-03Build fbclock with -lzJune McEnroe I guess this got lost somewhere, long ago... 2020-08-29Add tweets from retweetsJune McEnroe