From 9bed890aa889dad4c46b6d18fff8cbdac9feab1a Mon Sep 17 00:00:00 2001 From: C. McEnroe Date: Wed, 12 Feb 2020 21:31:09 -0500 Subject: Add sandman wrapper --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4d20e62..ceaaf38 100644 --- a/Makefile +++ b/Makefile @@ -40,6 +40,17 @@ install: catgirl catgirl.1 uninstall: rm -f ${PREFIX}/bin/catgirl ${MANDIR}/man1/catgirl.1.gz +scripts/sandman: scripts/sandman.o + ${CC} ${LDFLAGS} scripts/sandman.o -framework Cocoa -o $@ + +install-sandman: scripts/sandman scripts/sandman.1 + install -d ${PREFIX}/bin ${MANDIR}/man1 + install scripts/sandman ${PREFIX}/bin + gzip -c scripts/sandman.1 > ${MANDIR}/man1/sandman.1.gz + +uninstall-sandman: + rm -f ${PREFIX}/bin/sandman ${MANDIR}/man1/sandman.1.gz + CHROOT_USER = chat CHROOT_GROUP = ${CHROOT_USER} -- cgit 1.4.1-2-gfad0