aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Voss <thomasvoss@live.com> 2022-09-21 00:16:28 +0200
committerThomas Voss <thomasvoss@live.com> 2022-09-21 00:16:28 +0200
commit356af19c32f30454c85d8dfe03fc787d67fce53f (patch)
tree5f582a3a675c431b3a005da57473d55fb897b3ea /Makefile
parentca047f462757fe6330189162c15a13840fbe64ea (diff)
Add a library manual
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 37f1d66..5975402 100644
--- a/Makefile
+++ b/Makefile
@@ -18,10 +18,11 @@ liblux.so: ${sources}
${CC} ${CFLAGS} -o $@ -fPIC -shared liblux.o
install:
- mkdir -p ${PREFIX}/include ${PREFIX}/lib ${MANDIR}/man3
+ mkdir -p ${PREFIX}/include ${PREFIX}/lib ${MANDIR}/man0 ${MANDIR}/man3
cp ${outputs} ${PREFIX}/lib
cp lux.h ${PREFIX}/include
- cp man/* ${MANDIR}/man3
+ cp man/*.0 ${MANDIR}/man0
+ cp man/*.3 ${MANDIR}/man3
file=/usr/share/groff/current/tmac/mdoc/doc-syms; \
grep '^\.ds doc-str-Lb-liblux' $$file > /dev/null || \
cat man/Lb-desc.tmac >> $$file