summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man/.man1
-rw-r--r--man/Makefile.am49
-rw-r--r--man/Xcursor.man6
-rw-r--r--man/XcursorGetThemeCore.man1
-rw-r--r--man/XcursorImageLoadCursor.man1
-rw-r--r--man/XcursorImagesLoadCursor.man1
-rw-r--r--man/XcursorImagesLoadCursors.man1
-rw-r--r--man/XcursorLibraryPath.man1
-rw-r--r--man/XcursorLibraryShape.man1
-rw-r--r--man/XcursorSetThemeCore.man1
-rwxr-xr-xman/makelinks4
11 files changed, 42 insertions, 25 deletions
diff --git a/man/.man b/man/.man
new file mode 100644
index 0000000..690dab2
--- /dev/null
+++ b/man/.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/Xcursor.__libmansuffix__
diff --git a/man/Makefile.am b/man/Makefile.am
index 24effcf..167db61 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -5,44 +5,51 @@ libman_PRE = \
$(Xcursor_shadows:=.man)
Xcursor_shadows = \
- XcursorImageCreate \
- XcursorImageDestroy \
- XcursorImagesCreate \
- XcursorImagesDestroy \
XcursorCursorsCreate \
XcursorCursorsDestroy \
- XcursorXcFileLoadImage \
- XcursorXcFileLoadImages \
- XcursorXcFileLoadAllImages \
- XcursorXcFileLoad \
- XcursorXcFileSave \
XcursorFileLoad \
XcursorFileLoadAllImages \
XcursorFileLoadImage \
XcursorFileLoadImages \
XcursorFileSave \
XcursorFileSaveImages \
+ XcursorFilenameLoad \
+ XcursorFilenameLoadAllImages \
+ XcursorFilenameLoadCursor \
XcursorFilenameLoadCursors \
XcursorFilenameLoadImage \
XcursorFilenameLoadImages \
- XcursorFilenameLoadAllImages \
- XcursorFilenameLoad \
- XcursorFilenameSaveImages \
XcursorFilenameSave \
- XcursorLibraryLoadImage \
- XcursorLibraryLoadImages \
- XcursorFilenameLoadCursor \
+ XcursorFilenameSaveImages \
+ XcursorGetDefaultSize \
+ XcursorGetTheme \
+ XcursorGetThemeCore \
+ XcursorImageCreate \
+ XcursorImageDestroy \
+ XcursorImageLoadCursor \
+ XcursorImagesCreate \
+ XcursorImagesDestroy \
+ XcursorImagesLoadCursor \
+ XcursorImagesLoadCursors \
XcursorLibraryLoadCursor \
XcursorLibraryLoadCursors \
- XcursorShapeLoadImage \
- XcursorShapeLoadImages \
+ XcursorLibraryLoadImage \
+ XcursorLibraryLoadImages \
+ XcursorLibraryPath \
+ XcursorLibraryShape \
+ XcursorSetDefaultSize \
+ XcursorSetTheme \
+ XcursorSetThemeCore \
XcursorShapeLoadCursor \
XcursorShapeLoadCursors \
+ XcursorShapeLoadImage \
+ XcursorShapeLoadImages \
XcursorSupportsARGB \
- XcursorSetDefaultSize \
- XcursorGetDefaultSize \
- XcursorSetTheme \
- XcursorGetTheme
+ XcursorXcFileLoad \
+ XcursorXcFileLoadAllImages \
+ XcursorXcFileLoadImage \
+ XcursorXcFileLoadImages \
+ XcursorXcFileSave
libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@)
diff --git a/man/Xcursor.man b/man/Xcursor.man
index 38c7858..674f9a4 100644
--- a/man/Xcursor.man
+++ b/man/Xcursor.man
@@ -660,9 +660,9 @@ Xcursor tries the \fBXcursor.theme_core\fP resource.
An application can enable or disable themes using XcursorSetThemeCore.
.SH SEE ALSO
-XCreateRenderCursor(3),
-XCreatePixmapCursor(3), and
-XCreateFontCursor(3)
+XCreateRenderCursor(__libmansuffix__),
+XCreatePixmapCursor(__libmansuffix__), and
+XCreateFontCursor(__libmansuffix__)
.PP
as well as
.IP
diff --git a/man/XcursorGetThemeCore.man b/man/XcursorGetThemeCore.man
new file mode 100644
index 0000000..690dab2
--- /dev/null
+++ b/man/XcursorGetThemeCore.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/Xcursor.__libmansuffix__
diff --git a/man/XcursorImageLoadCursor.man b/man/XcursorImageLoadCursor.man
new file mode 100644
index 0000000..690dab2
--- /dev/null
+++ b/man/XcursorImageLoadCursor.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/Xcursor.__libmansuffix__
diff --git a/man/XcursorImagesLoadCursor.man b/man/XcursorImagesLoadCursor.man
new file mode 100644
index 0000000..690dab2
--- /dev/null
+++ b/man/XcursorImagesLoadCursor.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/Xcursor.__libmansuffix__
diff --git a/man/XcursorImagesLoadCursors.man b/man/XcursorImagesLoadCursors.man
new file mode 100644
index 0000000..690dab2
--- /dev/null
+++ b/man/XcursorImagesLoadCursors.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/Xcursor.__libmansuffix__
diff --git a/man/XcursorLibraryPath.man b/man/XcursorLibraryPath.man
new file mode 100644
index 0000000..690dab2
--- /dev/null
+++ b/man/XcursorLibraryPath.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/Xcursor.__libmansuffix__
diff --git a/man/XcursorLibraryShape.man b/man/XcursorLibraryShape.man
new file mode 100644
index 0000000..690dab2
--- /dev/null
+++ b/man/XcursorLibraryShape.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/Xcursor.__libmansuffix__
diff --git a/man/XcursorSetThemeCore.man b/man/XcursorSetThemeCore.man
new file mode 100644
index 0000000..690dab2
--- /dev/null
+++ b/man/XcursorSetThemeCore.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/Xcursor.__libmansuffix__
diff --git a/man/makelinks b/man/makelinks
index cfed84d..e2898cf 100755
--- a/man/makelinks
+++ b/man/makelinks
@@ -34,6 +34,7 @@
use strict;
use warnings;
+our $opt_v;
our %man_links;
sub read_file($) {
@@ -75,7 +76,8 @@ sub scan_man($) {
for my $n ( 0 .. $#data ) {
if ( $last =~ /^\.NS\b/ ) {
my $name = $data[$n];
- $name =~ s/^\s*\w+\s*[*]*\s*(\w+)\b.*/$1/;
+ $name =~ s/^(const)?\s*\w+\s*[*]*\s*(\w+)\b.*/$2/;
+ printf STDERR "MAP '%s' -> '%s'\n", $data[$n], $name if ( $opt_v );
&make_man_link($name);
}
$last = $data[$n];