From b6d645596f284550350d8c690cfcce89d019ab60 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Tue, 17 Aug 2010 19:53:37 -0400 Subject: 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 --- man/Makefile.am | 62 ++++++++++++++++--------------------- man/XF86VidModeDeleteModeLine.man | 1 + man/XF86VidModeGetAllModeLines.man | 1 + man/XF86VidModeGetDotClocks.man | 1 + man/XF86VidModeGetGamma.man | 1 + man/XF86VidModeGetGammaRamp.man | 1 + man/XF86VidModeGetGammaRampSize.man | 1 + man/XF86VidModeGetModeLine.man | 1 + man/XF86VidModeGetMonitor.man | 1 + man/XF86VidModeGetPermissions.man | 1 + man/XF86VidModeGetViewPort.man | 1 + man/XF86VidModeLockModeSwitch.man | 1 + man/XF86VidModeModModeLine.man | 1 + man/XF86VidModeQueryExtension.man | 1 + man/XF86VidModeQueryVersion.man | 1 + man/XF86VidModeSetClientVersion.man | 1 + man/XF86VidModeSetGamma.man | 1 + man/XF86VidModeSetGammaRamp.man | 1 + man/XF86VidModeSetViewPort.man | 1 + man/XF86VidModeSwitchMode.man | 1 + man/XF86VidModeSwitchToMode.man | 1 + man/XF86VidModeValidateModeLine.man | 1 + 22 files changed, 48 insertions(+), 35 deletions(-) create mode 100644 man/XF86VidModeDeleteModeLine.man create mode 100644 man/XF86VidModeGetAllModeLines.man create mode 100644 man/XF86VidModeGetDotClocks.man create mode 100644 man/XF86VidModeGetGamma.man create mode 100644 man/XF86VidModeGetGammaRamp.man create mode 100644 man/XF86VidModeGetGammaRampSize.man create mode 100644 man/XF86VidModeGetModeLine.man create mode 100644 man/XF86VidModeGetMonitor.man create mode 100644 man/XF86VidModeGetPermissions.man create mode 100644 man/XF86VidModeGetViewPort.man create mode 100644 man/XF86VidModeLockModeSwitch.man create mode 100644 man/XF86VidModeModModeLine.man create mode 100644 man/XF86VidModeQueryExtension.man create mode 100644 man/XF86VidModeQueryVersion.man create mode 100644 man/XF86VidModeSetClientVersion.man create mode 100644 man/XF86VidModeSetGamma.man create mode 100644 man/XF86VidModeSetGammaRamp.man create mode 100644 man/XF86VidModeSetViewPort.man create mode 100644 man/XF86VidModeSwitchMode.man create mode 100644 man/XF86VidModeSwitchToMode.man create mode 100644 man/XF86VidModeValidateModeLine.man diff --git a/man/Makefile.am b/man/Makefile.am index 0fc1db8..417dd03 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -23,18 +23,37 @@ libmandir = $(LIB_MAN_DIR) -LIB_MAN_DIR_SUFFIX = $(LIB_MAN_DIR:@mandir@/man%=%) +libman_PRE = \ + XF86VM.man \ + $(XF86VM_shadows:=.man) -libman_PRE = XF86VM.man - -BUILT_SOURCES = $(XF86VM_shadowmen) +XF86VM_shadows = \ + XF86VidModeQueryExtension \ + XF86VidModeQueryVersion \ + XF86VidModeGetModeLine \ + XF86VidModeGetAllModeLines \ + XF86VidModeDeleteModeLine \ + XF86VidModeModModeLine \ + XF86VidModeSwitchMode \ + XF86VidModeSwitchToMode \ + XF86VidModeLockModeSwitch \ + XF86VidModeGetMonitor \ + XF86VidModeGetViewPort \ + XF86VidModeSetViewPort \ + XF86VidModeValidateModeLine \ + XF86VidModeSetClientVersion \ + XF86VidModeGetDotClocks \ + XF86VidModeGetGamma \ + XF86VidModeSetGamma \ + XF86VidModeSetGammaRamp \ + XF86VidModeGetGammaRamp \ + XF86VidModeGetGammaRampSize \ + XF86VidModeGetPermissions EXTRA_DIST = $(libman_PRE) +CLEANFILES = $(libman_DATA) -CLEANFILES = $(libman_DATA) $(BUILT_SOURCES) - -libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@) \ - $(XF86VM_shadowmen) +libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@) # String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure SUFFIXES = .$(LIB_MAN_SUFFIX) .man @@ -42,31 +61,4 @@ SUFFIXES = .$(LIB_MAN_SUFFIX) .man .man.$(LIB_MAN_SUFFIX): $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ -# Generate man page shadow files (Replaces InstallManPageAliases from Imake) - -XF86VM_shadows = \ - XF86VidModeQueryExtension \ - XF86VidModeQueryVersion \ - XF86VidModeGetModeLine \ - XF86VidModeGetAllModeLines \ - XF86VidModeDeleteModeLine \ - XF86VidModeModModeLine \ - XF86VidModeSwitchMode \ - XF86VidModeSwitchToMode \ - XF86VidModeLockModeSwitch \ - XF86VidModeGetMonitor \ - XF86VidModeGetViewPort \ - XF86VidModeSetViewPort \ - XF86VidModeValidateModeLine \ - XF86VidModeSetClientVersion \ - XF86VidModeGetDotClocks \ - XF86VidModeGetGamma \ - XF86VidModeSetGamma \ - XF86VidModeSetGammaRamp \ - XF86VidModeGetGammaRamp \ - XF86VidModeGetGammaRampSize \ - XF86VidModeGetPermissions -XF86VM_shadowmen = $(XF86VM_shadows:=.@LIB_MAN_SUFFIX@) -$(XF86VM_shadowmen): - $(AM_V_GEN)echo ".so man$(LIB_MAN_DIR_SUFFIX)/XF86VM.$(LIB_MAN_SUFFIX)" > $@ diff --git a/man/XF86VidModeDeleteModeLine.man b/man/XF86VidModeDeleteModeLine.man new file mode 100644 index 0000000..cf4cb48 --- /dev/null +++ b/man/XF86VidModeDeleteModeLine.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XF86VM.__libmansuffix__ diff --git a/man/XF86VidModeGetAllModeLines.man b/man/XF86VidModeGetAllModeLines.man new file mode 100644 index 0000000..cf4cb48 --- /dev/null +++ b/man/XF86VidModeGetAllModeLines.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XF86VM.__libmansuffix__ diff --git a/man/XF86VidModeGetDotClocks.man b/man/XF86VidModeGetDotClocks.man new file mode 100644 index 0000000..cf4cb48 --- /dev/null +++ b/man/XF86VidModeGetDotClocks.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XF86VM.__libmansuffix__ diff --git a/man/XF86VidModeGetGamma.man b/man/XF86VidModeGetGamma.man new file mode 100644 index 0000000..cf4cb48 --- /dev/null +++ b/man/XF86VidModeGetGamma.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XF86VM.__libmansuffix__ diff --git a/man/XF86VidModeGetGammaRamp.man b/man/XF86VidModeGetGammaRamp.man new file mode 100644 index 0000000..cf4cb48 --- /dev/null +++ b/man/XF86VidModeGetGammaRamp.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XF86VM.__libmansuffix__ diff --git a/man/XF86VidModeGetGammaRampSize.man b/man/XF86VidModeGetGammaRampSize.man new file mode 100644 index 0000000..cf4cb48 --- /dev/null +++ b/man/XF86VidModeGetGammaRampSize.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XF86VM.__libmansuffix__ diff --git a/man/XF86VidModeGetModeLine.man b/man/XF86VidModeGetModeLine.man new file mode 100644 index 0000000..cf4cb48 --- /dev/null +++ b/man/XF86VidModeGetModeLine.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XF86VM.__libmansuffix__ diff --git a/man/XF86VidModeGetMonitor.man b/man/XF86VidModeGetMonitor.man new file mode 100644 index 0000000..cf4cb48 --- /dev/null +++ b/man/XF86VidModeGetMonitor.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XF86VM.__libmansuffix__ diff --git a/man/XF86VidModeGetPermissions.man b/man/XF86VidModeGetPermissions.man new file mode 100644 index 0000000..cf4cb48 --- /dev/null +++ b/man/XF86VidModeGetPermissions.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XF86VM.__libmansuffix__ diff --git a/man/XF86VidModeGetViewPort.man b/man/XF86VidModeGetViewPort.man new file mode 100644 index 0000000..cf4cb48 --- /dev/null +++ b/man/XF86VidModeGetViewPort.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XF86VM.__libmansuffix__ diff --git a/man/XF86VidModeLockModeSwitch.man b/man/XF86VidModeLockModeSwitch.man new file mode 100644 index 0000000..cf4cb48 --- /dev/null +++ b/man/XF86VidModeLockModeSwitch.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XF86VM.__libmansuffix__ diff --git a/man/XF86VidModeModModeLine.man b/man/XF86VidModeModModeLine.man new file mode 100644 index 0000000..cf4cb48 --- /dev/null +++ b/man/XF86VidModeModModeLine.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XF86VM.__libmansuffix__ diff --git a/man/XF86VidModeQueryExtension.man b/man/XF86VidModeQueryExtension.man new file mode 100644 index 0000000..cf4cb48 --- /dev/null +++ b/man/XF86VidModeQueryExtension.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XF86VM.__libmansuffix__ diff --git a/man/XF86VidModeQueryVersion.man b/man/XF86VidModeQueryVersion.man new file mode 100644 index 0000000..cf4cb48 --- /dev/null +++ b/man/XF86VidModeQueryVersion.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XF86VM.__libmansuffix__ diff --git a/man/XF86VidModeSetClientVersion.man b/man/XF86VidModeSetClientVersion.man new file mode 100644 index 0000000..cf4cb48 --- /dev/null +++ b/man/XF86VidModeSetClientVersion.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XF86VM.__libmansuffix__ diff --git a/man/XF86VidModeSetGamma.man b/man/XF86VidModeSetGamma.man new file mode 100644 index 0000000..cf4cb48 --- /dev/null +++ b/man/XF86VidModeSetGamma.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XF86VM.__libmansuffix__ diff --git a/man/XF86VidModeSetGammaRamp.man b/man/XF86VidModeSetGammaRamp.man new file mode 100644 index 0000000..cf4cb48 --- /dev/null +++ b/man/XF86VidModeSetGammaRamp.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XF86VM.__libmansuffix__ diff --git a/man/XF86VidModeSetViewPort.man b/man/XF86VidModeSetViewPort.man new file mode 100644 index 0000000..cf4cb48 --- /dev/null +++ b/man/XF86VidModeSetViewPort.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XF86VM.__libmansuffix__ diff --git a/man/XF86VidModeSwitchMode.man b/man/XF86VidModeSwitchMode.man new file mode 100644 index 0000000..cf4cb48 --- /dev/null +++ b/man/XF86VidModeSwitchMode.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XF86VM.__libmansuffix__ diff --git a/man/XF86VidModeSwitchToMode.man b/man/XF86VidModeSwitchToMode.man new file mode 100644 index 0000000..cf4cb48 --- /dev/null +++ b/man/XF86VidModeSwitchToMode.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XF86VM.__libmansuffix__ diff --git a/man/XF86VidModeValidateModeLine.man b/man/XF86VidModeValidateModeLine.man new file mode 100644 index 0000000..cf4cb48 --- /dev/null +++ b/man/XF86VidModeValidateModeLine.man @@ -0,0 +1 @@ +.so man__libmansuffix__/XF86VM.__libmansuffix__ -- cgit v1.2.3