TMACDIR ?= /usr/share/tmac
BINDIR ?= /usr/local/bin
MANDIR ?= /usr/local/man

install:
	install -m 644 mk/k.tmac t/toc.tmac $(TMACDIR)
	install -m 644 toc/toc.1 list/list.1 $(MANDIR)/man1
	install toc/toc list/list $(BINDIR)

install-extra:
	install -m 644 mk/kx.tmac $(TMACDIR)