mirror of
https://gitlab.freedesktop.org/xorg/lib/libxcursor.git
synced 2025-12-20 04:40:11 +01:00
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>
This commit is contained in:
parent
68d830bcf6
commit
b18568dd5b
32 changed files with 35 additions and 19 deletions
|
|
@ -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)
|
||||
|
|
|
|||
1
man/XcursorCursorsCreate.man
Normal file
1
man/XcursorCursorsCreate.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorCursorsDestroy.man
Normal file
1
man/XcursorCursorsDestroy.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorFilenameLoad.man
Normal file
1
man/XcursorFilenameLoad.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorFilenameLoadAllImages.man
Normal file
1
man/XcursorFilenameLoadAllImages.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorFilenameLoadCursor.man
Normal file
1
man/XcursorFilenameLoadCursor.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorFilenameLoadImage.man
Normal file
1
man/XcursorFilenameLoadImage.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorFilenameLoadImages.man
Normal file
1
man/XcursorFilenameLoadImages.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorFilenameSave.man
Normal file
1
man/XcursorFilenameSave.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorFilenameSaveImages.man
Normal file
1
man/XcursorFilenameSaveImages.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorGetDefaultSize.man
Normal file
1
man/XcursorGetDefaultSize.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorGetTheme.man
Normal file
1
man/XcursorGetTheme.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorImageCreate.man
Normal file
1
man/XcursorImageCreate.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorImageDestroy.man
Normal file
1
man/XcursorImageDestroy.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorImagesCreate.man
Normal file
1
man/XcursorImagesCreate.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorImagesDestroy.man
Normal file
1
man/XcursorImagesDestroy.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorLibraryLoadCursor.man
Normal file
1
man/XcursorLibraryLoadCursor.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorLibraryLoadCursors.man
Normal file
1
man/XcursorLibraryLoadCursors.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorLibraryLoadImage.man
Normal file
1
man/XcursorLibraryLoadImage.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorLibraryLoadImages.man
Normal file
1
man/XcursorLibraryLoadImages.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorSetDefaultSize.man
Normal file
1
man/XcursorSetDefaultSize.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorSetTheme.man
Normal file
1
man/XcursorSetTheme.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorShapeLoadCursor.man
Normal file
1
man/XcursorShapeLoadCursor.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorShapeLoadCursors.man
Normal file
1
man/XcursorShapeLoadCursors.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorShapeLoadImage.man
Normal file
1
man/XcursorShapeLoadImage.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorShapeLoadImages.man
Normal file
1
man/XcursorShapeLoadImages.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorSupportsARGB.man
Normal file
1
man/XcursorSupportsARGB.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorXcFileLoad.man
Normal file
1
man/XcursorXcFileLoad.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorXcFileLoadAllImages.man
Normal file
1
man/XcursorXcFileLoadAllImages.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorXcFileLoadImage.man
Normal file
1
man/XcursorXcFileLoadImage.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorXcFileLoadImages.man
Normal file
1
man/XcursorXcFileLoadImages.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
1
man/XcursorXcFileSave.man
Normal file
1
man/XcursorXcFileSave.man
Normal file
|
|
@ -0,0 +1 @@
|
|||
.so man__libmansuffix__/Xcursor.__libmansuffix__
|
||||
Loading…
Add table
Reference in a new issue