summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-05-02 19:58:28 -0400
committerJune McEnroe <june@causal.agency>2021-05-02 19:58:28 -0400
commit90fbb368596a36da1b1b1f27a55570926c71c650 (patch)
treeeee92c1db881182cd619d5d11332beef6431a6ef /Makefile
parentDefault to MANDIR=${PREFIX}/man, support BINDIR (diff)
downloadlitterbox-90fbb368596a36da1b1b1f27a55570926c71c650.tar.gz
litterbox-90fbb368596a36da1b1b1f27a55570926c71c650.zip
Get list of formats to test from unscoop itself
Diffstat (limited to '')
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9062bef..7c09875 100644
--- a/Makefile
+++ b/Makefile
@@ -20,8 +20,6 @@ OBJS.scoop = scoop.o xdg.o
 OBJS.unscoop = unscoop.o xdg.o
 OBJS = ${OBJS.litterbox} ${OBJS.scoop} ${OBJS.unscoop}
 
-FORMATS = generic catgirl irc textual
-
 dev: tags all test
 
 all: ${BINS}
@@ -40,7 +38,7 @@ ${OBJS}: database.h
 test: .test
 
 .test: unscoop
-	for f in ${FORMATS}; do ./unscoop -! -f $$f || exit 1; done
+	for f in $$(./unscoop -f ?); do ./unscoop -! -f $$f || exit 1; done
 	touch .test
 
 tags: *.[ch]