diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2010-08-16 19:17:21 -0400 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2010-08-16 19:23:57 -0400 |
commit | b18568dd5b5a11ae49cad66a54ec50465c6ffa77 (patch) | |
tree | ffc3be64798a495b055fc8076e7df1b2614b41fe | |
parent | 68d830bcf67632b474c8996b6a2c9bcde8e27f97 (diff) |
man: store shadow man pages in git rather than generating them
Simplify the build process and the makefile.
Local fix in CVS for bug 5628 is not required
as the problem has been fixed in
util-macros d9062e4077ebfd0985baf8418f3d0f111b9ddbba
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
32 files changed, 35 insertions, 19 deletions
diff --git a/man/Makefile.am b/man/Makefile.am index b306de2..c7d55fe 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -1,31 +1,21 @@ libmandir = $(LIB_MAN_DIR) -libman_PRE = Xcursor.man -libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@) +libman_PRE = Xcursor.man \ + $(Xcursor_shadows:=.man) -all-local: $(libman_DATA) +libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@) EXTRA_DIST = $(libman_PRE) CLEANFILES = $(libman_DATA) SUFFIXES = .$(LIB_MAN_SUFFIX) .man -# Strings to replace in man pages -XORGRELSTRING = @PACKAGE_STRING@ - # String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure -MAN_SUBSTS = -e 's|__XCURSORPATH__|$(XCURSORPATH_LIST)|g' +MAN_SUBSTS += -e 's|__XCURSORPATH__|$(XCURSORPATH_LIST)|g' .man.$(LIB_MAN_SUFFIX): $(AM_V_GEN)$(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 \ @@ -59,8 +49,3 @@ Xcursor_shadows = \ 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) diff --git a/man/XcursorCursorsCreate.man b/man/XcursorCursorsCreate.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorCursorsCreate.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorCursorsDestroy.man b/man/XcursorCursorsDestroy.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorCursorsDestroy.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorFilenameLoad.man b/man/XcursorFilenameLoad.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorFilenameLoad.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorFilenameLoadAllImages.man b/man/XcursorFilenameLoadAllImages.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorFilenameLoadAllImages.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorFilenameLoadCursor.man b/man/XcursorFilenameLoadCursor.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorFilenameLoadCursor.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorFilenameLoadImage.man b/man/XcursorFilenameLoadImage.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorFilenameLoadImage.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorFilenameLoadImages.man b/man/XcursorFilenameLoadImages.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorFilenameLoadImages.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorFilenameSave.man b/man/XcursorFilenameSave.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorFilenameSave.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorFilenameSaveImages.man b/man/XcursorFilenameSaveImages.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorFilenameSaveImages.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorGetDefaultSize.man b/man/XcursorGetDefaultSize.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorGetDefaultSize.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorGetTheme.man b/man/XcursorGetTheme.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorGetTheme.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorImageCreate.man b/man/XcursorImageCreate.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorImageCreate.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorImageDestroy.man b/man/XcursorImageDestroy.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorImageDestroy.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorImagesCreate.man b/man/XcursorImagesCreate.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorImagesCreate.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorImagesDestroy.man b/man/XcursorImagesDestroy.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorImagesDestroy.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorLibraryLoadCursor.man b/man/XcursorLibraryLoadCursor.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorLibraryLoadCursor.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorLibraryLoadCursors.man b/man/XcursorLibraryLoadCursors.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorLibraryLoadCursors.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorLibraryLoadImage.man b/man/XcursorLibraryLoadImage.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorLibraryLoadImage.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorLibraryLoadImages.man b/man/XcursorLibraryLoadImages.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorLibraryLoadImages.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorSetDefaultSize.man b/man/XcursorSetDefaultSize.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorSetDefaultSize.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorSetTheme.man b/man/XcursorSetTheme.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorSetTheme.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorShapeLoadCursor.man b/man/XcursorShapeLoadCursor.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorShapeLoadCursor.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorShapeLoadCursors.man b/man/XcursorShapeLoadCursors.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorShapeLoadCursors.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorShapeLoadImage.man b/man/XcursorShapeLoadImage.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorShapeLoadImage.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorShapeLoadImages.man b/man/XcursorShapeLoadImages.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorShapeLoadImages.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorSupportsARGB.man b/man/XcursorSupportsARGB.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorSupportsARGB.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorXcFileLoad.man b/man/XcursorXcFileLoad.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorXcFileLoad.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorXcFileLoadAllImages.man b/man/XcursorXcFileLoadAllImages.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorXcFileLoadAllImages.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorXcFileLoadImage.man b/man/XcursorXcFileLoadImage.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorXcFileLoadImage.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorXcFileLoadImages.man b/man/XcursorXcFileLoadImages.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorXcFileLoadImages.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ diff --git a/man/XcursorXcFileSave.man b/man/XcursorXcFileSave.man new file mode 100644 index 0000000..690dab2 --- /dev/null +++ b/man/XcursorXcFileSave.man @@ -0,0 +1 @@ +.so man__libmansuffix__/Xcursor.__libmansuffix__ |