summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-08-17 09:00:28 -0400
committerGaetan Nadon <memsize@videotron.ca>2010-08-17 09:00:28 -0400
commit25c4abc730f7d2407c33fcd5c48a6a82c541c921 (patch)
treefbe69e7247e608eff7ebd9fb69ea23fb4055ad38
parent1fb51a78ae5a063aa384b0b6b6fb7b11e972fcfa (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.am43
-rw-r--r--man/XScreenSaverAllocInfo.man1
-rw-r--r--man/XScreenSaverGetRegistered.man1
-rw-r--r--man/XScreenSaverQueryExtension.man1
-rw-r--r--man/XScreenSaverQueryInfo.man1
-rw-r--r--man/XScreenSaverQueryVersion.man1
-rw-r--r--man/XScreenSaverRegister.man1
-rw-r--r--man/XScreenSaverSelectInput.man1
-rw-r--r--man/XScreenSaverSetAttributes.man1
-rw-r--r--man/XScreenSaverSuspend.man1
-rw-r--r--man/XScreenSaverUnregister.man1
-rw-r--r--man/XScreenSaverUnsetAttributes.man1
12 files changed, 28 insertions, 26 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index b84aff5..8bdb115 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -23,18 +23,27 @@
libmandir = $(LIB_MAN_DIR)
-LIB_MAN_DIR_SUFFIX = $(LIB_MAN_DIR:@mandir@/man%=%)
+libman_PRE = \
+ Xss.man \
+ $(Xss_shadows:=.man)
-libman_PRE = Xss.man
-
-BUILT_SOURCES = $(Xss_shadowmen)
+Xss_shadows = \
+ XScreenSaverQueryExtension \
+ XScreenSaverQueryVersion \
+ XScreenSaverAllocInfo \
+ XScreenSaverQueryInfo \
+ XScreenSaverSelectInput \
+ XScreenSaverSetAttributes \
+ XScreenSaverUnsetAttributes \
+ XScreenSaverRegister \
+ XScreenSaverUnregister \
+ XScreenSaverGetRegistered \
+ XScreenSaverSuspend
EXTRA_DIST = $(libman_PRE)
+CLEANFILES = $(libman_DATA)
-CLEANFILES = $(libman_DATA) $(BUILT_SOURCES)
-
-libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@) \
- $(Xss_shadowmen)
+libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@)
SUFFIXES = .$(LIB_MAN_SUFFIX) .man
@@ -42,21 +51,3 @@ SUFFIXES = .$(LIB_MAN_SUFFIX) .man
.man.$(LIB_MAN_SUFFIX):
$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
-# Generate man page shadow files (Replaces InstallManPageAliases from Imake)
-
-Xss_shadows = \
- XScreenSaverQueryExtension \
- XScreenSaverQueryVersion \
- XScreenSaverAllocInfo \
- XScreenSaverQueryInfo \
- XScreenSaverSelectInput \
- XScreenSaverSetAttributes \
- XScreenSaverUnsetAttributes \
- XScreenSaverRegister \
- XScreenSaverUnregister \
- XScreenSaverGetRegistered \
- XScreenSaverSuspend
-
-Xss_shadowmen = $(Xss_shadows:=.@LIB_MAN_SUFFIX@)
-$(Xss_shadowmen):
- $(AM_V_GEN)echo ".so man$(LIB_MAN_DIR_SUFFIX)/Xss.$(LIB_MAN_SUFFIX)" > $@
diff --git a/man/XScreenSaverAllocInfo.man b/man/XScreenSaverAllocInfo.man
new file mode 100644
index 0000000..0b94d09
--- /dev/null
+++ b/man/XScreenSaverAllocInfo.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/Xss.__libmansuffix__
diff --git a/man/XScreenSaverGetRegistered.man b/man/XScreenSaverGetRegistered.man
new file mode 100644
index 0000000..0b94d09
--- /dev/null
+++ b/man/XScreenSaverGetRegistered.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/Xss.__libmansuffix__
diff --git a/man/XScreenSaverQueryExtension.man b/man/XScreenSaverQueryExtension.man
new file mode 100644
index 0000000..0b94d09
--- /dev/null
+++ b/man/XScreenSaverQueryExtension.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/Xss.__libmansuffix__
diff --git a/man/XScreenSaverQueryInfo.man b/man/XScreenSaverQueryInfo.man
new file mode 100644
index 0000000..0b94d09
--- /dev/null
+++ b/man/XScreenSaverQueryInfo.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/Xss.__libmansuffix__
diff --git a/man/XScreenSaverQueryVersion.man b/man/XScreenSaverQueryVersion.man
new file mode 100644
index 0000000..0b94d09
--- /dev/null
+++ b/man/XScreenSaverQueryVersion.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/Xss.__libmansuffix__
diff --git a/man/XScreenSaverRegister.man b/man/XScreenSaverRegister.man
new file mode 100644
index 0000000..0b94d09
--- /dev/null
+++ b/man/XScreenSaverRegister.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/Xss.__libmansuffix__
diff --git a/man/XScreenSaverSelectInput.man b/man/XScreenSaverSelectInput.man
new file mode 100644
index 0000000..0b94d09
--- /dev/null
+++ b/man/XScreenSaverSelectInput.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/Xss.__libmansuffix__
diff --git a/man/XScreenSaverSetAttributes.man b/man/XScreenSaverSetAttributes.man
new file mode 100644
index 0000000..0b94d09
--- /dev/null
+++ b/man/XScreenSaverSetAttributes.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/Xss.__libmansuffix__
diff --git a/man/XScreenSaverSuspend.man b/man/XScreenSaverSuspend.man
new file mode 100644
index 0000000..0b94d09
--- /dev/null
+++ b/man/XScreenSaverSuspend.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/Xss.__libmansuffix__
diff --git a/man/XScreenSaverUnregister.man b/man/XScreenSaverUnregister.man
new file mode 100644
index 0000000..0b94d09
--- /dev/null
+++ b/man/XScreenSaverUnregister.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/Xss.__libmansuffix__
diff --git a/man/XScreenSaverUnsetAttributes.man b/man/XScreenSaverUnsetAttributes.man
new file mode 100644
index 0000000..0b94d09
--- /dev/null
+++ b/man/XScreenSaverUnsetAttributes.man
@@ -0,0 +1 @@
+.so man__libmansuffix__/Xss.__libmansuffix__