summaryrefslogtreecommitdiff
path: root/man/Makefile.am
blob: 3f5498539d8bd53759c92c4d00241ee1547e7a27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
libmandir = $(LIB_MAN_DIR)

libman_PRE =				\
	Xcursor.man			\
	$(Xcursor_shadows:=.man)

Xcursor_shadows =			\
	XcursorAnimateCreate		\
	XcursorAnimateDestroy		\
	XcursorAnimateNext		\
	XcursorCommentCreate		\
	XcursorCommentDestroy		\
	XcursorCommentsCreate		\
	XcursorCommentsDestroy		\
	XcursorCursorsCreate		\
	XcursorCursorsDestroy		\
	XcursorFileLoad			\
	XcursorFileLoadAllImages	\
	XcursorFileLoadImage		\
	XcursorFileLoadImages		\
	XcursorFileSave			\
	XcursorFileSaveImages		\
	XcursorFilenameLoad		\
	XcursorFilenameLoadAllImages	\
	XcursorFilenameLoadCursor	\
	XcursorFilenameLoadCursors	\
	XcursorFilenameLoadImage	\
	XcursorFilenameLoadImages	\
	XcursorFilenameSave		\
	XcursorFilenameSaveImages	\
	XcursorGetDefaultSize		\
	XcursorGetTheme			\
	XcursorGetThemeCore		\
	XcursorImageCreate		\
	XcursorImageDestroy		\
	XcursorImageHash		\
	XcursorImageLoadCursor		\
	XcursorImagesCreate		\
	XcursorImagesDestroy		\
	XcursorImagesLoadCursor		\
	XcursorImagesLoadCursors	\
	XcursorImagesSetName		\
	XcursorLibraryLoadCursor	\
	XcursorLibraryLoadCursors	\
	XcursorLibraryLoadImage		\
	XcursorLibraryLoadImages	\
	XcursorLibraryPath		\
	XcursorLibraryShape		\
	XcursorNoticeCreateBitmap	\
	XcursorNoticePutBitmap		\
	XcursorSetDefaultSize		\
	XcursorSetTheme			\
	XcursorSetThemeCore		\
	XcursorShapeLoadCursor		\
	XcursorShapeLoadCursors		\
	XcursorShapeLoadImage		\
	XcursorShapeLoadImages		\
	XcursorSupportsARGB		\
	XcursorSupportsAnim		\
	XcursorTryShapeBitmapCursor	\
	XcursorTryShapeCursor		\
	XcursorXcFileLoad		\
	XcursorXcFileLoadAllImages	\
	XcursorXcFileLoadImage		\
	XcursorXcFileLoadImages		\
	XcursorXcFileSave

libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@)

EXTRA_DIST = $(libman_PRE)
CLEANFILES = $(libman_DATA)

SUFFIXES = .$(LIB_MAN_SUFFIX) .man

# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
# 's/:/, /g' will add comma and a space to help path formatting
MAN_SUBSTS += -e 's|__XCURSORPATH__|$(XCURSORPATH)|g' \
	      -e '\|$(XCURSORPATH)| s/:/, /g'

.man.$(LIB_MAN_SUFFIX):
	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@