summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-08-17 19:53:37 -0400
committerGaetan Nadon <memsize@videotron.ca>2010-08-17 19:53:37 -0400
commitb6d645596f284550350d8c690cfcce89d019ab60 (patch)
treed81a62911e5c364ea8d312ea29997a6b74c6c100
parent01df17daf923b7eeeb3476149d189c5dc8da3bf8 (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>
-rw-r--r--man/Makefile.am62
-rw-r--r--man/XF86VidModeDeleteModeLine.man1
-rw-r--r--man/XF86VidModeGetAllModeLines.man1
-rw-r--r--man/XF86VidModeGetDotClocks.man1
-rw-r--r--man/XF86VidModeGetGamma.man1
-rw-r--r--man/XF86VidModeGetGammaRamp.man1
-rw-r--r--man/XF86VidModeGetGammaRampSize.man1
-rw-r--r--man/XF86VidModeGetModeLine.man1
-rw-r--r--man/XF86VidModeGetMonitor.man1
-rw-r--r--man/XF86VidModeGetPermissions.man1
-rw-r--r--man/XF86VidModeGetViewPort.man1
-rw-r--r--man/XF86VidModeLockModeSwitch.man1
-rw-r--r--man/XF86VidModeModModeLine.man1
-rw-r--r--man/XF86VidModeQueryExtension.man1
-rw-r--r--man/XF86VidModeQueryVersion.man1
-rw-r--r--man/XF86VidModeSetClientVersion.man1
-rw-r--r--man/XF86VidModeSetGamma.man1
-rw-r--r--man/XF86VidModeSetGammaRamp.man1
-rw-r--r--man/XF86VidModeSetViewPort.man1
-rw-r--r--man/XF86VidModeSwitchMode.man1
-rw-r--r--man/XF86VidModeSwitchToMode.man1
-rw-r--r--man/XF86VidModeValidateModeLine.man1
22 files changed, 48 insertions, 35 deletions
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__