diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,8 +1,16 @@ +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 u.tmac t/toc.tmac $(TMACDIR) + install t/toc $(BINDIR) + hacking.pdf: hacking.t u.tmac perl -pe '$$_=`$$_` if s/^\!//' hacking.t |\ $(PDFROFF) > hacking.pdf |