aboutsummaryrefslogtreecommitdiff
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
parent5c5cf3a8d816f861990426df79ce7bff78436ad8 (diff)
Make use of the new 3head section
-rw-r--r--Makefile11
-rw-r--r--man/lux.h.3head (renamed from man/lux.h.0)4
-rw-r--r--man/luxget.36
-rw-r--r--man/luxinit.36
-rw-r--r--man/luxset.36
5 files changed, 17 insertions, 16 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:
diff --git a/man/lux.h.0 b/man/lux.h.3head
index c13bb58..ddc38cd 100644
--- a/man/lux.h.0
+++ b/man/lux.h.3head
@@ -15,8 +15,8 @@
.\" OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: November 14 2022 $
-.Dt lux.h 0
+.Dd $Mdocdate: November 17 2022 $
+.Dt lux.h 3HEAD
.Os Linux
.Sh NAME
.Nm lux.h
diff --git a/man/luxget.3 b/man/luxget.3
index a571ef7..18c9a1a 100644
--- a/man/luxget.3
+++ b/man/luxget.3
@@ -15,7 +15,7 @@
.\" OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: November 14 2022 $
+.Dd $Mdocdate: November 17 2022 $
.Dt LUXGET 3
.Os Linux
.Sh NAME
@@ -137,7 +137,6 @@ can fail with any of the errors specified for
or
.Fn openat .
.Sh SEE ALSO
-.Xr lux.h 0 ,
.Xr luxdec 3 ,
.Xr luxdecp 3 ,
.Xr luxfree 3 ,
@@ -145,6 +144,7 @@ or
.Xr luxincp 3 ,
.Xr luxinit 3 ,
.Xr luxset 3 ,
-.Xr luxsetp 3
+.Xr luxsetp 3 ,
+.Xr lux.h 3head
.Sh AUTHORS
.An Thomas Voss Aq Mt mail@thomasvoss.com
diff --git a/man/luxinit.3 b/man/luxinit.3
index 39047ca..12fa161 100644
--- a/man/luxinit.3
+++ b/man/luxinit.3
@@ -15,7 +15,7 @@
.\" OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: November 14 2022 $
+.Dd $Mdocdate: November 17 2022 $
.Dt LUXINIT 3
.Os Linux
.Sh NAME
@@ -106,7 +106,6 @@ can fail with any of the errors specified for
or
.Fn readdir .
.Sh SEE ALSO
-.Xr lux.h 0 ,
.Xr luxdec 3 ,
.Xr luxdecp 3 ,
.Xr luxget 3 ,
@@ -115,6 +114,7 @@ or
.Xr luxincp 3 ,
.Xr luxmax 3 ,
.Xr luxset 3 ,
-.Xr luxsetp 3
+.Xr luxsetp 3 ,
+.Xr lux.h 3head
.Sh AUTHORS
.An Thomas Voss Aq Mt mail@thomasvoss.com
diff --git a/man/luxset.3 b/man/luxset.3
index 2cbedb4..9a6975f 100644
--- a/man/luxset.3
+++ b/man/luxset.3
@@ -15,7 +15,7 @@
.\" OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: November 14 2022 $
+.Dd $Mdocdate: November 17 2022 $
.Dt LUXSET 3
.Os Linux
.Sh NAME
@@ -162,11 +162,11 @@ can fail with any of the errors specified for
or
.Fn openat .
.Sh SEE ALSO
-.Xr lux.h 0 ,
.Xr luxfree 3 ,
.Xr luxget 3 ,
.Xr luxgetp 3 ,
.Xr luxinit 3 ,
-.Xr luxmax 3
+.Xr luxmax 3 ,
+.Xr lux.h 3head
.Sh AUTHORS
.An Thomas Voss Aq Mt mail@thomasvoss.com