aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-rw-r--r--man/drm-kms.xml4
-rw-r--r--man/drm-memory.xml4
-rw-r--r--man/drm.xml6
-rw-r--r--man/drmAvailable.xml4
-rw-r--r--man/drmHandleEvent.xml4
-rw-r--r--man/drmModeGetResources.xml4
-rw-r--r--man/meson.build67
7 files changed, 80 insertions, 13 deletions
diff --git a/man/drm-kms.xml b/man/drm-kms.xml
index ae38dc8d..eb04c263 100644
--- a/man/drm-kms.xml
+++ b/man/drm-kms.xml
@@ -309,8 +309,8 @@ static int modeset_find_crtc(int fd, drmModeRes *res, drmModeConnector *conn)
309 <refsect1> 309 <refsect1>
310 <title>Reporting Bugs</title> 310 <title>Reporting Bugs</title>
311 <para>Bugs in this manual should be reported to 311 <para>Bugs in this manual should be reported to
312 http://bugs.freedesktop.org under the "Mesa" product, with "Other" or 312 https://bugs.freedesktop.org/enter_bug.cgi?product=DRI&amp;component=libdrm
313 "libdrm" as the component.</para> 313 under the "DRI" product, component "libdrm"</para>
314 </refsect1> 314 </refsect1>
315 315
316 <refsect1> 316 <refsect1>
diff --git a/man/drm-memory.xml b/man/drm-memory.xml
index 6b4f0759..3aa7cf25 100644
--- a/man/drm-memory.xml
+++ b/man/drm-memory.xml
@@ -410,8 +410,8 @@ memset(map, 0, creq.size);
410 <refsect1> 410 <refsect1>
411 <title>Reporting Bugs</title> 411 <title>Reporting Bugs</title>
412 <para>Bugs in this manual should be reported to 412 <para>Bugs in this manual should be reported to
413 http://bugs.freedesktop.org under the "Mesa" product, with "Other" or 413 https://bugs.freedesktop.org/enter_bug.cgi?product=DRI&amp;component=libdrm
414 "libdrm" as the component.</para> 414 under the "DRI" product, component "libdrm"</para>
415 </refsect1> 415 </refsect1>
416 416
417 <refsect1> 417 <refsect1>
diff --git a/man/drm.xml b/man/drm.xml
index 5a49fe13..1f559669 100644
--- a/man/drm.xml
+++ b/man/drm.xml
@@ -50,7 +50,7 @@
50 50
51 <para>In earlier days, the kernel framework was solely used to provide raw 51 <para>In earlier days, the kernel framework was solely used to provide raw
52 hardware access to priviledged user-space processes which implement 52 hardware access to priviledged user-space processes which implement
53 all the hardware abstraction layers. But more and more tasks where 53 all the hardware abstraction layers. But more and more tasks were
54 moved into the kernel. All these interfaces are based on 54 moved into the kernel. All these interfaces are based on
55 <citerefentry><refentrytitle>ioctl</refentrytitle><manvolnum>2</manvolnum></citerefentry> 55 <citerefentry><refentrytitle>ioctl</refentrytitle><manvolnum>2</manvolnum></citerefentry>
56 commands on the DRM character device. The <emphasis>libdrm</emphasis> 56 commands on the DRM character device. The <emphasis>libdrm</emphasis>
@@ -119,8 +119,8 @@
119 <refsect1> 119 <refsect1>
120 <title>Reporting Bugs</title> 120 <title>Reporting Bugs</title>
121 <para>Bugs in this manual should be reported to 121 <para>Bugs in this manual should be reported to
122 http://bugs.freedesktop.org under the "Mesa" product, with "Other" or 122 https://bugs.freedesktop.org/enter_bug.cgi?product=DRI&amp;component=libdrm
123 "libdrm" as the component.</para> 123 under the "DRI" product, component "libdrm"</para>
124 </refsect1> 124 </refsect1>
125 125
126 <refsect1> 126 <refsect1>
diff --git a/man/drmAvailable.xml b/man/drmAvailable.xml
index 55bef94a..1e5d7873 100644
--- a/man/drmAvailable.xml
+++ b/man/drmAvailable.xml
@@ -61,8 +61,8 @@
61 <refsect1> 61 <refsect1>
62 <title>Reporting Bugs</title> 62 <title>Reporting Bugs</title>
63 <para>Bugs in this function should be reported to 63 <para>Bugs in this function should be reported to
64 http://bugs.freedesktop.org under the "Mesa" product, with "Other" or 64 https://bugs.freedesktop.org/enter_bug.cgi?product=DRI&amp;component=libdrm
65 "libdrm" as the component.</para> 65 under the "DRI" product, component "libdrm"</para>
66 </refsect1> 66 </refsect1>
67 67
68 <refsect1> 68 <refsect1>
diff --git a/man/drmHandleEvent.xml b/man/drmHandleEvent.xml
index b1006e51..83304428 100644
--- a/man/drmHandleEvent.xml
+++ b/man/drmHandleEvent.xml
@@ -86,8 +86,8 @@ typedef struct _drmEventContext {
86 <refsect1> 86 <refsect1>
87 <title>Reporting Bugs</title> 87 <title>Reporting Bugs</title>
88 <para>Bugs in this function should be reported to 88 <para>Bugs in this function should be reported to
89 http://bugs.freedesktop.org under the "Mesa" product, with "Other" or 89 https://bugs.freedesktop.org/enter_bug.cgi?product=DRI&amp;component=libdrm
90 "libdrm" as the component.</para> 90 under the "DRI" product, component "libdrm"</para>
91 </refsect1> 91 </refsect1>
92 92
93 <refsect1> 93 <refsect1>
diff --git a/man/drmModeGetResources.xml b/man/drmModeGetResources.xml
index 2f5e8c2c..0ab6a68b 100644
--- a/man/drmModeGetResources.xml
+++ b/man/drmModeGetResources.xml
@@ -116,8 +116,8 @@ typedef struct _drmModeRes {
116 <refsect1> 116 <refsect1>
117 <title>Reporting Bugs</title> 117 <title>Reporting Bugs</title>
118 <para>Bugs in this function should be reported to 118 <para>Bugs in this function should be reported to
119 http://bugs.freedesktop.org under the "Mesa" product, with "Other" or 119 https://bugs.freedesktop.org/enter_bug.cgi?product=DRI&amp;component=libdrm
120 "libdrm" as the component.</para> 120 under the "DRI" product, component "libdrm"</para>
121 </refsect1> 121 </refsect1>
122 122
123 <refsect1> 123 <refsect1>
diff --git a/man/meson.build b/man/meson.build
new file mode 100644
index 00000000..45eaeda0
--- /dev/null
+++ b/man/meson.build
@@ -0,0 +1,67 @@
1# Copyright © 2017-2018 Intel Corporation
2
3# Permission is hereby granted, free of charge, to any person obtaining a copy
4# of this software and associated documentation files (the "Software"), to deal
5# in the Software without restriction, including without limitation the rights
6# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7# copies of the Software, and to permit persons to whom the Software is
8# furnished to do so, subject to the following conditions:
9
10# The above copyright notice and this permission notice shall be included in
11# all copies or substantial portions of the Software.
12
13# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19# SOFTWARE.
20
21xsltproc_args = [
22 '--stringparam', 'man.authors.section.enabled', '0',
23 '--stringparam', 'man.copyright.section.enabled', '0',
24 '--stringparam', 'funcsynopsis.style', 'ansi',
25 '--stringparam', 'man.output.quietly', '1',
26 '--nonet', manpage_style,
27]
28
29xmls = [
30 ['drm', '7'], ['drm-kms', '7'], ['drm-memory', '7'], ['drmAvailable', '3'],
31 ['drmHandleEvent', '3'], ['drmModeGetResources', '3']
32]
33foreach x : xmls
34 m = x[0]
35 s = x[1]
36 custom_target(
37 m,
38 input : files('@0@.xml'.format(m)),
39 output : '@0@.@1@'.format(m, s),
40 command : [prog_xslt, '-o', '@OUTPUT@', xsltproc_args, '@INPUT0@'],
41 install : true,
42 install_dir : join_paths(get_option('mandir'), 'man@0@'.format(s)),
43 build_by_default : true,
44 )
45endforeach
46
47foreach x : ['drm-mm', 'drm-gem', 'drm-ttm']
48 gen = custom_target(
49 'gen-@0@'.format(x),
50 input : 'drm-memory.xml',
51 output : '@0@.xml'.format(x),
52 command : [
53 prog_sed, '-e', 's@^\.so \([a-z_]\+\)\.\([0-9]\)$$@\.so man\2\/\1\.\2@',
54 '@INPUT@',
55 ],
56 capture : true,
57 )
58 custom_target(
59 '@0@.7'.format(x),
60 input : gen,
61 output : '@0@.7'.format(x, '7'),
62 command : [prog_xslt, '-o', '@OUTPUT@', xsltproc_args, '@INPUT@'],
63 install : true,
64 install_dir : join_paths(get_option('mandir'), 'man7'),
65 build_by_default : true,
66 )
67endforeach