diff options
author | June McEnroe <june@causal.agency> | 2020-08-27 16:26:40 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-08-27 16:26:40 -0400 |
commit | 620571651532821ca386521d7b4a3c0739fff463 (patch) | |
tree | 223c9558a59e0f4b65ae4bb6d0858b42e2bf5f6b /Makefile | |
parent | Move rc script docs to rc script comment (diff) | |
download | litterbox-620571651532821ca386521d7b4a3c0739fff463.tar.gz litterbox-620571651532821ca386521d7b4a3c0739fff463.zip |
Remove rc script 1.6
The rc script kinda just sucks for running this, and catsit exists now. Probably no one but me was ever using it anyway.
Diffstat (limited to '')
-rw-r--r-- | Makefile | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/Makefile b/Makefile index e85d6c2..fd56245 100644 --- a/Makefile +++ b/Makefile @@ -7,13 +7,13 @@ LDLIBS = -lsqlite3 -ltls BINS = litterbox scoop unscoop MANS = ${BINS:=.1} -RCS = rc.d/litterbox -include config.mk OBJS.litterbox = litterbox.o config.o xdg.o OBJS.scoop = scoop.o xdg.o OBJS.unscoop = unscoop.o xdg.o +OBJS = ${OBJS.litterbox} ${OBJS.scoop} ${OBJS.unscoop} FORMATS = generic catgirl irc textual @@ -30,7 +30,7 @@ unscoop: ${OBJS.unscoop} .o: ${CC} ${LDFLAGS} ${OBJS.$@} ${LDLIBS} -o $@ -${BINS:=.o}: database.h +${OBJS}: database.h test: .test @@ -38,27 +38,17 @@ test: .test set -e; for format in ${FORMATS}; do ./unscoop -n -f $$format; done touch .test -.SUFFIXES: .in - -.in: - sed -e 's|%%PREFIX%%|${PREFIX}|g' $< > $@ - -tags: *.c *.h - ctags -w *.c *.h +tags: *.[ch] + ctags -w *.[ch] clean: - rm -f .test tags ${BINS} ${RCS} ${BINS:=.o} config.o xdg.o + rm -f ${BINS} ${OBJS} .test tags -install: ${BINS} ${MANS} ${INSTALLS} +install: ${BINS} ${MANS} install -d ${DESTDIR}${PREFIX}/bin ${DESTDIR}${MANDIR}/man1 install ${BINS} ${DESTDIR}${PREFIX}/bin install -m 644 ${MANS} ${DESTDIR}${MANDIR}/man1 -install-rcs: ${RCS} - install -d ${DESTDIR}${ETCDIR}/rc.d - install ${RCS} ${DESTDIR}${ETCDIR}/rc.d - uninstall: rm -f ${BINS:%=${DESTDIR}${PREFIX}/bin/%} rm -f ${MANS:%=${DESTDIR}${MANDIR}/man1/%} - rm -f ${RCS:%=${DESTDIR}${ETCDIR}/%} |