diff options
author | June McEnroe <june@causal.agency> | 2018-08-05 19:32:11 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-08-05 19:32:11 -0400 |
commit | 9b457ad0c47421776abef2435c52342b4594c863 (patch) | |
tree | 005ea40bd62f88b64ddd259c616748997cfdedf1 /Makefile | |
parent | Add chat to index.html (diff) | |
download | torus-9b457ad0c47421776abef2435c52342b4594c863.tar.gz torus-9b457ad0c47421776abef2435c52342b4594c863.zip |
Fix color pairs once and for all
8/16 color setup adapted from chat/ui.c. termcap patch hack no longer required. Black on black and bright black now work. Nothing will appear bold anymore on 256-color terminals. The keys for black have definitely always been in the help. You just didn't notice.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/Makefile b/Makefile index daef391..8df5425 100644 --- a/Makefile +++ b/Makefile @@ -11,13 +11,7 @@ $(BINS): torus.h .c: $(CC) $(CFLAGS) $(LDFLAGS) $< $(LDLIBS) -o $@ -termcap: termcap.diff - patch -p0 -o termcap < termcap.diff - -termcap.db: termcap - cap_mkdb termcap - -chroot.tar: server client help termcap.db +chroot.tar: server client help mkdir -p root install -d -o root -g wheel \ root/bin \ @@ -36,7 +30,7 @@ chroot.tar: server client help termcap.db /lib/libncurses.so.8 \ /lib/libncursesw.so.8 \ root/lib - install -o root -g wheel -m 444 termcap.db root/usr/share/misc + install -o root -g wheel -m 444 /usr/share/misc/termcap.db root/usr/share/misc install -o root -g wheel -m 555 /bin/sh root/bin install -o root -g wheel -m 555 server client help root/bin tar -c -f chroot.tar -C root bin home lib libexec usr @@ -45,4 +39,4 @@ tags: *.h *.c ctags -w *.h *.c clean: - rm -f tags $(BINS) termcap termcap.db chroot.tar + rm -f tags $(BINS) chroot.tar |