17914d74bSmrglibmandir = $(LIB_MAN_DIR)
27914d74bSmrg
3e8ead290Smrglibman_PRE =				\
4e8ead290Smrg	Xcursor.man			\
5e8ead290Smrg	$(Xcursor_shadows:=.man)
6e8ead290Smrg
7e8ead290SmrgXcursor_shadows =			\
84d939ec7Smrg	XcursorAnimateCreate		\
94d939ec7Smrg	XcursorAnimateDestroy		\
104d939ec7Smrg	XcursorAnimateNext		\
114d939ec7Smrg	XcursorCommentCreate		\
124d939ec7Smrg	XcursorCommentDestroy		\
134d939ec7Smrg	XcursorCommentsCreate		\
144d939ec7Smrg	XcursorCommentsDestroy		\
15e8ead290Smrg	XcursorCursorsCreate		\
16e8ead290Smrg	XcursorCursorsDestroy		\
174d939ec7Smrg	XcursorFileLoad			\
184d939ec7Smrg	XcursorFileLoadAllImages	\
194d939ec7Smrg	XcursorFileLoadImage		\
204d939ec7Smrg	XcursorFileLoadImages		\
214d939ec7Smrg	XcursorFileSave			\
224d939ec7Smrg	XcursorFileSaveImages		\
234d939ec7Smrg	XcursorFilenameLoad		\
244d939ec7Smrg	XcursorFilenameLoadAllImages	\
254d939ec7Smrg	XcursorFilenameLoadCursor	\
264d939ec7Smrg	XcursorFilenameLoadCursors	\
27e8ead290Smrg	XcursorFilenameLoadImage	\
28e8ead290Smrg	XcursorFilenameLoadImages	\
29e8ead290Smrg	XcursorFilenameSave		\
304d939ec7Smrg	XcursorFilenameSaveImages	\
314d939ec7Smrg	XcursorGetDefaultSize		\
324d939ec7Smrg	XcursorGetTheme			\
334d939ec7Smrg	XcursorGetThemeCore		\
344d939ec7Smrg	XcursorImageCreate		\
354d939ec7Smrg	XcursorImageDestroy		\
364d939ec7Smrg	XcursorImageHash		\
374d939ec7Smrg	XcursorImageLoadCursor		\
384d939ec7Smrg	XcursorImagesCreate		\
394d939ec7Smrg	XcursorImagesDestroy		\
404d939ec7Smrg	XcursorImagesLoadCursor		\
414d939ec7Smrg	XcursorImagesLoadCursors	\
424d939ec7Smrg	XcursorImagesSetName		\
43e8ead290Smrg	XcursorLibraryLoadCursor	\
44e8ead290Smrg	XcursorLibraryLoadCursors	\
454d939ec7Smrg	XcursorLibraryLoadImage		\
464d939ec7Smrg	XcursorLibraryLoadImages	\
474d939ec7Smrg	XcursorLibraryPath		\
484d939ec7Smrg	XcursorLibraryShape		\
494d939ec7Smrg	XcursorNoticeCreateBitmap	\
504d939ec7Smrg	XcursorNoticePutBitmap		\
514d939ec7Smrg	XcursorSetDefaultSize		\
524d939ec7Smrg	XcursorSetTheme			\
534d939ec7Smrg	XcursorSetThemeCore		\
54e8ead290Smrg	XcursorShapeLoadCursor		\
55e8ead290Smrg	XcursorShapeLoadCursors		\
564d939ec7Smrg	XcursorShapeLoadImage		\
574d939ec7Smrg	XcursorShapeLoadImages		\
58e8ead290Smrg	XcursorSupportsARGB		\
594d939ec7Smrg	XcursorSupportsAnim		\
604d939ec7Smrg	XcursorTryShapeBitmapCursor	\
614d939ec7Smrg	XcursorTryShapeCursor		\
624d939ec7Smrg	XcursorXcFileLoad		\
634d939ec7Smrg	XcursorXcFileLoadAllImages	\
644d939ec7Smrg	XcursorXcFileLoadImage		\
654d939ec7Smrg	XcursorXcFileLoadImages		\
664d939ec7Smrg	XcursorXcFileSave
677914d74bSmrg
68e8ead290Smrglibman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@)
697914d74bSmrg
707914d74bSmrgEXTRA_DIST = $(libman_PRE)
717914d74bSmrgCLEANFILES = $(libman_DATA)
727914d74bSmrg
737914d74bSmrgSUFFIXES = .$(LIB_MAN_SUFFIX) .man
747914d74bSmrg
75e8ead290Smrg# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
76c63293b5Smrg# 's/:/, /g' will add comma and a space to help path formatting
77c63293b5SmrgMAN_SUBSTS += -e 's|__XCURSORPATH__|$(XCURSORPATH)|g' \
78c63293b5Smrg	      -e '\|$(XCURSORPATH)| s/:/, /g'
797914d74bSmrg
807914d74bSmrg.man.$(LIB_MAN_SUFFIX):
81e8ead290Smrg	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
82