diff options
author | Thomas Voss <thomasvoss@live.com> | 2022-09-21 00:16:28 +0200 |
---|---|---|
committer | Thomas Voss <thomasvoss@live.com> | 2022-09-21 00:16:28 +0200 |
commit | 356af19c32f30454c85d8dfe03fc787d67fce53f (patch) | |
tree | 5f582a3a675c431b3a005da57473d55fb897b3ea /Makefile | |
parent | ca047f462757fe6330189162c15a13840fbe64ea (diff) |
Add a library manual
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |