aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2022-11-17 12:26:55 +0100
committerThomas Voss <mail@thomasvoss.com> 2022-11-17 12:27:37 +0100
commit65c8c36777ae9c1ef69152b80c5e1043d410dbac (patch)
tree4da3145fb7e50a240ab56fbe4d31a7ab90c0482f /Makefile
parent5c5cf3a8d816f861990426df79ce7bff78436ad8 (diff)
Make use of the new 3head section
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index a193c6e..75137eb 100644
--- a/Makefile
+++ b/Makefile
@@ -10,12 +10,13 @@ all:
@echo 'run `tup` to build the library' >&2
install:
- mkdir -p ${DPREFIX}/include ${DPREFIX}/lib ${MANDIR}/man0 ${MANDIR}/man3
+ mkdir -p ${DPREFIX}/include ${DPREFIX}/lib \
+ ${MANDIR}/man3 ${MANDIR}/man3head
cp src/liblux.a src/liblux.so ${DPREFIX}/lib
- cp src/lux.h ${DPREFIX}/include
- cp man/*.0 ${MANDIR}/man0
- cp man/*.3 ${MANDIR}/man3
- sed -i '/^\.ds doc-str-Lb-liblux/d' ${GFILE}
+ cp src/lux.h ${DPREFIX}/include
+ cp man/*.3 ${MANDIR}/man3
+ cp man/*.3head ${MANDIR}/man3head
+ sed -i '/^\.ds doc-str-Lb-liblux/d' ${GFILE}
grep -v '^\.\\"' man/Lb-desc.tmac >> ${GFILE}
clean: