summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-11-27 19:13:27 -0500
committerJune McEnroe <june@causal.agency>2018-11-27 19:13:27 -0500
commit85ea911b799181e375b1553458853e54ed25f28f (patch)
tree5e04e7be0a0099a60021c0235f7795be6025b1bf /Makefile
parentAdd M-m key to insert a blank line (diff)
downloadcatgirl-85ea911b799181e375b1553458853e54ed25f28f.tar.gz
catgirl-85ea911b799181e375b1553458853e54ed25f28f.zip
Rename project catgirl
This simplifies things.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index ece6649..3efcbd8 100644
--- a/Makefile
+++ b/Makefile
@@ -27,12 +27,12 @@ OBJS += url.o
 TESTS += format.t
 TESTS += term.t
 
-all: tags chatte test
+all: tags catgirl test
 
 tags: *.h *.c
 	ctags -w *.h *.c
 
-chatte: $(OBJS)
+catgirl: $(OBJS)
 	$(CC) $(LDFLAGS) $(OBJS) $(LDLIBS) -o $@
 
 $(OBJS): chat.h
@@ -45,16 +45,16 @@ test: $(TESTS)
 .c.t:
 	$(CC) $(CFLAGS) -DTEST $(LDFLAGS) $< $(LDLIBS) -o $@
 
-install: chatte chatte.1
+install: catgirl catgirl.1
 	install -d $(PREFIX)/bin $(MANPATH)/man1
-	install chatte $(PREFIX)/bin/chatte
-	install -m 644 chatte.1 $(MANPATH)/man1/chatte.1
+	install catgirl $(PREFIX)/bin/catgirl
+	install -m 644 catgirl.1 $(MANPATH)/man1/catgirl.1
 
 uninstall:
-	rm -f $(PREFIX)/bin/chatte
-	rm -f $(MANPATH)/man1/chatte.1
+	rm -f $(PREFIX)/bin/catgirl
+	rm -f $(MANPATH)/man1/catgirl.1
 
-chroot.tar: chatte chatte.1 man.sh
+chroot.tar: catgirl catgirl.1 man.sh
 	install -d -o root -g wheel \
 		root \
 		root/bin \
@@ -88,7 +88,7 @@ chroot.tar: chatte chatte.1 man.sh
 	tar -c -f chroot.tar -C root bin etc home lib libexec usr
 
 clean:
-	rm -rf tags chatte $(OBJS) $(TESTS) root chroot.tar
+	rm -rf tags catgirl $(OBJS) $(TESTS) root chroot.tar
 
-README: chatte.7
-	mandoc chatte.7 | sed $$'s/.\b//g' > README
+README: catgirl.7
+	mandoc catgirl.7 | col -b -x > README
-01-25Avoid unused variable warnings with getyxJune McEnroe 2019-01-25Add GNU/Linux build instructionsJune McEnroe'> 2021-09-15Enter capsicum in downgradeJune McEnroe 2021-09-15Factor out common parts of downgrade messagesJune McEnroe Also bump the message cap to 1024 because that is ostensibly useful for replying to older messages. 2021-09-14Add downgrade IRC botJune McEnroe 2021-09-14Sort by title if authors matchJune McEnroe There are probably better things to sort by but title definitely always exists. 2021-09-13Swap-remove tags as they're foundJune McEnroe This makes it even faster. From ~1s on a sqlite3.c amalgamation to ~0.85s. 2021-09-12Replace htagml regex with strncmpJune McEnroe Since ctags only ever produces regular expressions of the form /^re$/ or /^re/ with no other special characters, instead unescape the pattern and simply use strncmp. Running on a sqlite3.c amalgamation, the regex version takes ~37s while the strncmp version takes ~1s, producing identical output. Big win! 2021-09-11Also defer printing comment for lone close-parensJune McEnroe 2021-09-10Publish "git-comment"June McEnroe 2021-09-10Add git comment --pretty optionJune McEnroe 2021-09-08Defer printing comment if line is blank or closing braceJune McEnroe This fixes badly indented comments. 2021-09-08Up default min-repeat to 30 linesJune McEnroe 2021-09-08Handle dirty lines in git-commentJune McEnroe 2021-09-08Document and install git-commentJune McEnroe 2021-09-08Add repeat and all options to git-commentJune McEnroe 2021-09-08Add group threshold to git-commentJune McEnroe