From bc84dd1eab78e96ccc7dabd7561cfaf57f165951 Mon Sep 17 00:00:00 2001 From: John Ankarstrom Date: Sat, 3 Jul 2021 19:56:16 +0200 Subject: Move mk into separate directory --- Makefile | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0c59a31..7805ee7 100644 --- a/Makefile +++ b/Makefile @@ -2,22 +2,10 @@ TMACDIR ?= /usr/share/tmac BINDIR ?= /usr/local/bin MANDIR ?= /usr/local/man -TROFF ?= troff -PDFROFF ?= troff | dpost | ps2pdf - - -all: README.pdf HACKING.pdf - install: - install -m 644 k.tmac t/toc.tmac $(TMACDIR) + 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) -HACKING.pdf: HACKING.t k.tmac - perl -pe '$$_=`$$_` if s/^\!//' HACKING.t |\ - LC_ALL=en_US.UTF-8\ - $(PDFROFF) > HACKING.pdf - -README.pdf: README.t k.tmac - TROFFONTS=/usr/pkg/share/fonts/X11/TTF/\ - LC_ALL=en_US.UTF-8\ - README.pdf +install-extra: + install -m 644 mk/kx.tmac $(TMACDIR) -- cgit v1.2.3