aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 8d132db..0c59a31 100644
--- a/Makefile
+++ b/Makefile
@@ -8,14 +8,16 @@ PDFROFF ?= troff | dpost | ps2pdf -
all: README.pdf HACKING.pdf
install:
- install -m 644 u.tmac t/toc.tmac $(TMACDIR)
+ install -m 644 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 u.tmac
+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 u.tmac
- TROFFONTS=/usr/pkg/share/fonts/X11/TTF/ \
+README.pdf: README.t k.tmac
+ TROFFONTS=/usr/pkg/share/fonts/X11/TTF/\
+ LC_ALL=en_US.UTF-8\
<README.t toc/toc list/list -p.l \| $(PDFROFF) > README.pdf