summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/.gitignore1
-rw-r--r--bin/Makefile7
2 files changed, 6 insertions, 2 deletions
diff --git a/bin/.gitignore b/bin/.gitignore
index 354e7720..f20dec2e 100644
--- a/bin/.gitignore
+++ b/bin/.gitignore
@@ -1,3 +1,4 @@
+tags
 *.o
 atch
 dtch
diff --git a/bin/Makefile b/bin/Makefile
index d6d46e4c..a6e734f9 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -7,7 +7,7 @@ ALL_BINS = $(ANY_BINS) $(BSD_BINS) $(MAC_BINS) $(LIN_BINS)
 CFLAGS += -Wall -Wextra -Wpedantic
 LDLIBS = -lcurses -ledit -lutil -lz
 
-any: .gitignore $(ANY_BINS)
+any: .gitignore tags $(ANY_BINS)
 
 bsd: any $(BSD_BINS)
 
@@ -45,6 +45,9 @@ unlink:
 	rm -f $(ALL_BINS:%=~/.bin/%)
 
 .gitignore: Makefile
-	echo '*.o' $(ALL_BINS) | tr ' ' '\n' > .gitignore
+	echo tags '*.o' $(ALL_BINS) | tr ' ' '\n' > .gitignore
+
+tags: *.c
+	ctags *.c
 
 .PHONY: any bsd mac linux setuid clean link unlink
xt/books.txt?id=a38a46aa6f20c685ae03e0bba80bff2a3909242b&follow=1'>Add The Obelisk GateJune McEnroe 2020-02-17Add Four Tet — HandsJune McEnroe 2020-02-12Simplify macOS notify-sendJune McEnroe 2020-02-12Add imbox and notemap to pageJune McEnroe 2020-02-12Collapse simple linksJune McEnroe 2020-02-12Move catgirl up the pageJune McEnroe 2020-02-12Update catgirl pty grabJune McEnroe 2020-02-12Link to cgit /about pages where appropriateJune McEnroe 2020-02-11Separate LINKS from BINS for html to workJune McEnroe 2020-02-11Add margin to Bl-bullet itemsJune McEnroe 2020-02-10Match URLs inside parens or with paired parens insideJune McEnroe 2020-02-10Duplicate effective URL before passing it back to curlJune McEnroe 2020-02-09Add To Be Taught, If FortunateJune McEnroe 2020-02-04Add The Future of Another TimelineJune McEnroe 2020-01-31Reorganize the Makefile for the umpteenth timeJune McEnroe 2020-01-28Change scout sensitivity to 1.4June McEnroe 2020-01-28Import shows.txtJune McEnroe