From 356af19c32f30454c85d8dfe03fc787d67fce53f Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 21 Sep 2022 00:16:28 +0200 Subject: Add a library manual --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3