summaryrefslogtreecommitdiff
path: root/man/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'man/Makefile.am')
-rw-r--r--man/Makefile.am46
1 files changed, 46 insertions, 0 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index e8ddd70..abb555d 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -25,3 +25,49 @@ MAN_SUBSTS = \
.man.$(LIB_MAN_SUFFIX):
-rm -f $@
sed $(MAN_SUBSTS) < $< > $@
+
+# Generate man page shadow files
+
+LIB_MAN_DIR_SUFFIX = $(LIB_MAN_DIR:@mandir@/man%=%)
+libman_DATA += $(Xcursor_shadows:=.@LIB_MAN_SUFFIX@)
+BUILT_SOURCES = shadows.DONE
+CLEANFILES += shadows.DONE
+
+Xcursor_shadows = \
+ XcursorImageCreate \
+ XcursorImageDestroy \
+ XcursorImagesCreate \
+ XcursorImagesDestroy \
+ XcursorCursorsCreate \
+ XcursorCursorsDestroy \
+ XcursorXcFileLoadImage \
+ XcursorXcFileLoadImages \
+ XcursorXcFileLoadAllImages \
+ XcursorXcFileLoad \
+ XcursorXcFileSave \
+ XcursorFilenameLoadImage \
+ XcursorFilenameLoadImages \
+ XcursorFilenameLoadAllImages \
+ XcursorFilenameLoad \
+ XcursorFilenameSaveImages \
+ XcursorFilenameSave \
+ XcursorLibraryLoadImage \
+ XcursorLibraryLoadImages \
+ XcursorFilenameLoadCursor \
+ XcursorLibraryLoadCursor \
+ XcursorLibraryLoadCursors \
+ XcursorShapeLoadImage \
+ XcursorShapeLoadImages \
+ XcursorShapeLoadCursor \
+ XcursorShapeLoadCursors \
+ XcursorSupportsARGB \
+ XcursorSetDefaultSize \
+ XcursorGetDefaultSize \
+ XcursorSetTheme \
+ XcursorGetTheme
+
+shadows.DONE:
+ -rm -f $(Xcursor_shadows:=.@LIB_MAN_SUFFIX@)
+ (for i in $(Xcursor_shadows:=.@LIB_MAN_SUFFIX@) ; do \
+ echo .so man$(LIB_MAN_DIR_SUFFIX)/Xcursor.$(LIB_MAN_SUFFIX) > $$i; \
+ done)