diff options
author | C. McEnroe | 2020-02-12 21:31:09 -0500 |
---|---|---|
committer | C. McEnroe | 2020-02-12 21:31:09 -0500 |
commit | 9bed890aa889dad4c46b6d18fff8cbdac9feab1a (patch) | |
tree | d408ff3884efc17c440bec56ee8311aecaecbc62 /Makefile | |
parent | c8a9570c1c413624ef10653bbb7ea10d21c065dc (diff) |
Add sandman wrapper
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
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} |