aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-06-27 18:37:36 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-06-27 18:37:36 +0200
commitb23a1093b73e16f1b69e5d8d05c9e3dcf8ee5d65 (patch)
tree7561a64156f244bda61c14a1b673c028e3f27d74 /Makefile
parente8086631ecabb0018062c1b8a519a2fa265c92f9 (diff)
downloadmk-b23a1093b73e16f1b69e5d8d05c9e3dcf8ee5d65.tar.gz
Add 'list' utility
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6aa8fa8..36299f0 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,8 @@ all: README.pdf HACKING.pdf
install:
install -m 644 u.tmac t/toc.tmac $(TMACDIR)
- install t/toc $(BINDIR)
+ install -m 644 toc/toc.1 list/list.1 $(MANDIR)/man1
+ install toc/toc list/list $(BINDIR)
HACKING.pdf: HACKING.t u.tmac
perl -pe '$$_=`$$_` if s/^\!//' HACKING.t |\
@@ -17,4 +18,4 @@ HACKING.pdf: HACKING.t u.tmac
README.pdf: README.t u.tmac
TROFFONTS=/usr/pkg/share/fonts/X11/TTF/ \
- <README.t toc/toc $(PDFROFF) > README.pdf
+ <README.t toc/toc list/list -p=.l \| $(PDFROFF) > README.pdf