summary refs log tree commit diff
path: root/bin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bin/Makefile')
-rw-r--r--bin/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/bin/Makefile b/bin/Makefile
index f858d483..5820051c 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -93,10 +93,10 @@ psf2png.o scheme.o: png.h
 scheme.h: scheme
 	./scheme -c > scheme.h
 
-tags: *.h *.c
-	ctags -w *.h *.c
+tags: *.[chly]
+	ctags -tw *.[chly]
 
-IGNORE = *.o *.html ${BINS_ALL} ${LINKS} scheme.h tags
+IGNORE = *.o *.html ${BINS_ALL} ${LINKS} scheme.h tags htmltags
 
 .gitignore: Makefile
 	echo config.mk '${IGNORE}' | tr ' ' '\n' | sort > .gitignore
@@ -125,7 +125,11 @@ WEBROOT = /usr/local/www/causal.agency
 html: ${HTMLS}
 	@true
 
-${HTMLS}: html.sh scheme hi ttpre
+${HTMLS}: html.sh scheme ttpre htagml htmltags
+
+htmltags: *.[chly]
+	rm -f $@
+	for f in *.[chly]; do ctags -atw -f $@ $$f; done
 
 .SUFFIXES: .html
 
@@ -145,9 +149,7 @@ ${HTMLS}: html.sh scheme hi ttpre
 	sh html.sh $< man1/${<:.pl=.1} > $@
 
 index.html: Makefile README.7
-	sh html.sh Makefile README.7 \
-		| sed -E 's,([a-z0-9-]+)[(][1-9][)],<a href="\1.html">&</a>,' \
-		> index.html
+	sh html.sh Makefile README.7 > $@
 
 install-html: ${HTMLS}
 	install -d ${WEBROOT}/bin
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 Apparently sometimes it didn't like receiving its own internal storage to parse again. Understandable. 2020-02-09Add To Be Taught, If FortunateJune McEnroe 2020-02-04Add The Future of Another TimelineJune McEnroe Wow. One of the best I've read. 2020-01-31Reorganize the Makefile for the umpteenth timeJune McEnroe Broke out LDLIBS for each bin, and made everything more uniform. 2020-01-28Change scout sensitivity to 1.4June McEnroe idk it seems to work. 2020-01-28Import shows.txtJune McEnroe