summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-08-17 14:37:23 -0400
committerGaetan Nadon <memsize@videotron.ca>2010-08-17 14:37:23 -0400
commita8a764e1c41a8f261f768e9ac2ef24e23ba6eedd (patch)
treee697025d2a84a64534fff52227c23dc1a67c5d1b
parent7395fb5197549ce048b9e759eb27cd7f4f284c66 (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/XDGAChangePixmapMode.man1
-rw-r--r--man/XDGACloseFramebuffer.man1
-rw-r--r--man/XDGACopyArea.man1
-rw-r--r--man/XDGACopyTransparentArea.man1
-rw-r--r--man/XDGACreateColormap.man1
-rw-r--r--man/XDGAFillRectangle.man1
-rw-r--r--man/XDGAGetViewportStatus.man1
-rw-r--r--man/XDGAInstallColormap.man1
-rw-r--r--man/XDGAKeyEventToXKeyEvent.man1
-rw-r--r--man/XDGAOpenFramebuffer.man1
-rw-r--r--man/XDGAQueryExtension.man1
-rw-r--r--man/XDGAQueryModes.man1
-rw-r--r--man/XDGAQueryVersion.man1
-rw-r--r--man/XDGASelectInput.man1
-rw-r--r--man/XDGASetClientVersion.man1
-rw-r--r--man/XDGASetMode.man1
-rw-r--r--man/XDGASetViewport.man1
-rw-r--r--man/XDGASync.man1
-rw-r--r--man/XF86DGA.man1
-rw-r--r--man/XFree86-DGA.man1
21 files changed, 47 insertions, 35 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 457ac58..624b17c 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -23,47 +23,39 @@
libmandir = $(LIB_MAN_DIR)
-LIB_MAN_DIR_SUFFIX = $(LIB_MAN_DIR:@mandir@/man%=%)
-
-libman_PRE = XDGA.man
-
-BUILT_SOURCES = $(XDGA_shadowmen)
+libman_PRE = \
+ XDGA.man \
+ $(XDGA_shadows:=.man)
+
+XDGA_functions = \
+ XDGAQueryExtension \
+ XDGAQueryVersion \
+ XDGAQueryModes \
+ XDGASetMode \
+ XDGAOpenFramebuffer \
+ XDGACloseFramebuffer \
+ XDGASetViewport \
+ XDGAInstallColormap \
+ XDGACreateColormap \
+ XDGASelectInput \
+ XDGAFillRectangle \
+ XDGACopyArea \
+ XDGACopyTransparentArea \
+ XDGAGetViewportStatus \
+ XDGASync \
+ XDGASetClientVersion \
+ XDGAChangePixmapMode \
+ XDGAKeyEventToXKeyEvent
+
+XDGA_shadows = XF86DGA XFree86-DGA $(XDGA_functions)
EXTRA_DIST = $(libman_PRE)
+CLEANFILES = $(libman_DATA)
-CLEANFILES = $(libman_DATA) $(BUILT_SOURCES)
-
-libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@) \
- $(XDGA_shadowmen)
+libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@)
SUFFIXES = .$(LIB_MAN_SUFFIX) .man
# String replacements in MAN_SUBSTS now come from xorg-macros.m4 via configure
.man.$(LIB_MAN_SUFFIX):
$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
-
-# Generate man page shadow files (Replaces InstallManPageAliases from Imake)
-DGAFUNCS = XDGAQueryExtension \
- XDGAQueryVersion \
- XDGAQueryModes \
- XDGASetMode \
- XDGAOpenFramebuffer \
- XDGACloseFramebuffer \
- XDGASetViewport \
- XDGAInstallColormap \
- XDGACreateColormap \
- XDGASelectInput \
- XDGAFillRectangle \
- XDGACopyArea \
- XDGACopyTransparentArea \
- XDGAGetViewportStatus \
- XDGASync \
- XDGASetClientVersion \
- XDGAChangePixmapMode \
- XDGAKeyEventToXKeyEvent
-
-XDGA_shadows = XF86DGA XFree86-DGA $(DGAFUNCS)
-
-XDGA_shadowmen = $(XDGA_shadows:=.@LIB_MAN_SUFFIX@)
-$(XDGA_shadowmen):
- $(AM_V_GEN)echo ".so man$(LIB_MAN_DIR_SUFFIX)/XDGA.$(LIB_MAN_SUFFIX)" > $@
diff --git a/man/XDGAChangePixmapMode.man b/man/XDGAChangePixmapMode.man
new file mode 100644
index 0000000..7cab59e
--- /dev/null
+++ b/man/XDGAChangePixmapMode.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/XDGA.__libmansuffix__
diff --git a/man/XDGACloseFramebuffer.man b/man/XDGACloseFramebuffer.man
new file mode 100644
index 0000000..7cab59e
--- /dev/null
+++ b/man/XDGACloseFramebuffer.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/XDGA.__libmansuffix__
diff --git a/man/XDGACopyArea.man b/man/XDGACopyArea.man
new file mode 100644
index 0000000..7cab59e
--- /dev/null
+++ b/man/XDGACopyArea.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/XDGA.__libmansuffix__
diff --git a/man/XDGACopyTransparentArea.man b/man/XDGACopyTransparentArea.man
new file mode 100644
index 0000000..7cab59e
--- /dev/null
+++ b/man/XDGACopyTransparentArea.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/XDGA.__libmansuffix__
diff --git a/man/XDGACreateColormap.man b/man/XDGACreateColormap.man
new file mode 100644
index 0000000..7cab59e
--- /dev/null
+++ b/man/XDGACreateColormap.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/XDGA.__libmansuffix__
diff --git a/man/XDGAFillRectangle.man b/man/XDGAFillRectangle.man
new file mode 100644
index 0000000..7cab59e
--- /dev/null
+++ b/man/XDGAFillRectangle.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/XDGA.__libmansuffix__
diff --git a/man/XDGAGetViewportStatus.man b/man/XDGAGetViewportStatus.man
new file mode 100644
index 0000000..7cab59e
--- /dev/null
+++ b/man/XDGAGetViewportStatus.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/XDGA.__libmansuffix__
diff --git a/man/XDGAInstallColormap.man b/man/XDGAInstallColormap.man
new file mode 100644
index 0000000..7cab59e
--- /dev/null
+++ b/man/XDGAInstallColormap.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/XDGA.__libmansuffix__
diff --git a/man/XDGAKeyEventToXKeyEvent.man b/man/XDGAKeyEventToXKeyEvent.man
new file mode 100644
index 0000000..7cab59e
--- /dev/null
+++ b/man/XDGAKeyEventToXKeyEvent.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/XDGA.__libmansuffix__
diff --git a/man/XDGAOpenFramebuffer.man b/man/XDGAOpenFramebuffer.man
new file mode 100644
index 0000000..7cab59e
--- /dev/null
+++ b/man/XDGAOpenFramebuffer.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/XDGA.__libmansuffix__
diff --git a/man/XDGAQueryExtension.man b/man/XDGAQueryExtension.man
new file mode 100644
index 0000000..7cab59e
--- /dev/null
+++ b/man/XDGAQueryExtension.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/XDGA.__libmansuffix__
diff --git a/man/XDGAQueryModes.man b/man/XDGAQueryModes.man
new file mode 100644
index 0000000..7cab59e
--- /dev/null
+++ b/man/XDGAQueryModes.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/XDGA.__libmansuffix__
diff --git a/man/XDGAQueryVersion.man b/man/XDGAQueryVersion.man
new file mode 100644
index 0000000..7cab59e
--- /dev/null
+++ b/man/XDGAQueryVersion.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/XDGA.__libmansuffix__
diff --git a/man/XDGASelectInput.man b/man/XDGASelectInput.man
new file mode 100644
index 0000000..7cab59e
--- /dev/null
+++ b/man/XDGASelectInput.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/XDGA.__libmansuffix__
diff --git a/man/XDGASetClientVersion.man b/man/XDGASetClientVersion.man
new file mode 100644
index 0000000..7cab59e
--- /dev/null
+++ b/man/XDGASetClientVersion.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/XDGA.__libmansuffix__
diff --git a/man/XDGASetMode.man b/man/XDGASetMode.man
new file mode 100644
index 0000000..7cab59e
--- /dev/null
+++ b/man/XDGASetMode.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/XDGA.__libmansuffix__
diff --git a/man/XDGASetViewport.man b/man/XDGASetViewport.man
new file mode 100644
index 0000000..7cab59e
--- /dev/null
+++ b/man/XDGASetViewport.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/XDGA.__libmansuffix__
diff --git a/man/XDGASync.man b/man/XDGASync.man
new file mode 100644
index 0000000..7cab59e
--- /dev/null
+++ b/man/XDGASync.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/XDGA.__libmansuffix__
diff --git a/man/XF86DGA.man b/man/XF86DGA.man
new file mode 100644
index 0000000..7cab59e
--- /dev/null
+++ b/man/XF86DGA.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/XDGA.__libmansuffix__
diff --git a/man/XFree86-DGA.man b/man/XFree86-DGA.man
new file mode 100644
index 0000000..7cab59e
--- /dev/null
+++ b/man/XFree86-DGA.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/XDGA.__libmansuffix__