From 5a2601740d04d4180e77695c4b60f2cf5c84be6c Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 22 Aug 2007 19:40:55 -0700 Subject: Make shadow man pages for each function --- man/Makefile.am | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) 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) -- cgit v1.2.3