summary refs log tree commit diff
path: root/bin/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-02-18 17:07:53 -0500
committerJune McEnroe <june@causal.agency>2019-02-18 17:07:53 -0500
commit48014f1c32317a838a9724e6ee1354236ff6ead2 (patch)
tree614e4f65b41fa2535a975f06ca6f59c2bd7438e5 /bin/Makefile
parentAdd Tag class to hi (diff)
downloadsrc-48014f1c32317a838a9724e6ee1354236ff6ead2.tar.gz
src-48014f1c32317a838a9724e6ee1354236ff6ead2.zip
Remove hi line numbering
Tags are much better for referring to specific parts of a file and line
numbering is better done by a post-processing tool such as cat -n or
producing a two-column HTML <table>.
Diffstat (limited to 'bin/Makefile')
-rw-r--r--bin/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/Makefile b/bin/Makefile
index 43d2cce1..4788281c 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -101,16 +101,16 @@ $(HTMLS): ttpre hi
 .SUFFIXES: .html
 
 .c.html:
-	@./hi -f html -o document,anchor,tab=4 -m $< /dev/null > $@
+	@./hi -f html -o document,tab=4 -n $< /dev/null > $@
 	@echo '<code><a href="$(GITEA_URL)/$<">$< in git</a></code>' >> $@
 	man -P cat ./man1/$(<:%.c=%.1) | ./ttpre >> $@
-	./hi -n -f html -o anchor $< >> $@
+	./hi -f html -o anchor $< >> $@
 
 .sh.html:
-	@./hi -f html -o document,anchor,tab=4 -m $< /dev/null > $@
+	@./hi -f html -o document,tab=4 -n $< /dev/null > $@
 	@echo '<code><a href="$(GITEA_URL)/$<">$< in git</a></code>' >> $@
 	man -P cat ./man1/$(<:%.sh=%.1) | ./ttpre >> $@
-	./hi -n -f html -o anchor $< >> $@
+	./hi -f html -o anchor $< >> $@
 
 clean:
 	rm -f $(BINS_ALL) $(LINKS) tags scheme.h scheme.png *.o *.html