aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <thomasvoss@live.com> 2022-09-21 20:08:26 +0200
committerThomas Voss <thomasvoss@live.com> 2022-09-21 20:08:26 +0200
commitf59bdcfbc507d0c3d615afc867c8a082ed669db6 (patch)
tree91635f95dc162ab49bb0085d592a7f60d995216d
parent356af19c32f30454c85d8dfe03fc787d67fce53f (diff)
Change write location of Lb-desc.tmac
It does totally work to write the contents of man/Lb-desc.tmac to the doc-syms file; the intended way however is to write to the man.local and mdoc.local files. Since these manuals use mandoc, we write to mdoc.local.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5975402..c9e54d4 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ install:
cp lux.h ${PREFIX}/include
cp man/*.0 ${MANDIR}/man0
cp man/*.3 ${MANDIR}/man3
- file=/usr/share/groff/current/tmac/mdoc/doc-syms; \
+ file=/usr/share/groff/site-tmac/mdoc.local; \
grep '^\.ds doc-str-Lb-liblux' $$file > /dev/null || \
cat man/Lb-desc.tmac >> $$file