aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Ankarstrom <john@ankarstrom.se>2021-07-01 22:10:09 +0200
committerJohn Ankarstrom <john@ankarstrom.se>2021-07-01 22:10:09 +0200
commit7ce1da8edd9450f662d76aa7aea223db003c0557 (patch)
tree7386bb1d3fd9e9a363fb0f007f49f43eab4ae880 /Makefile
parentc39dea4bf977643c36c980c4b6f661d4cd85e791 (diff)
downloadmk-7ce1da8edd9450f662d76aa7aea223db003c0557.tar.gz
Rename mu to mk
The u*.tmac namespace is already a bit busy.
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