aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/dmx
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/hw/dmx')
-rw-r--r--xorg-server/hw/dmx/Makefile.am25
-rw-r--r--xorg-server/hw/dmx/config/Makefile.am21
-rw-r--r--xorg-server/hw/dmx/config/man/Makefile.am2
-rw-r--r--xorg-server/hw/dmx/config/man/dmxtodmx.man (renamed from xorg-server/hw/dmx/config/dmxtodmx.man)0
-rw-r--r--xorg-server/hw/dmx/config/man/vdltodmx.man (renamed from xorg-server/hw/dmx/config/vdltodmx.man)0
-rw-r--r--xorg-server/hw/dmx/config/man/xdmxconfig.man (renamed from xorg-server/hw/dmx/config/xdmxconfig.man)0
-rw-r--r--xorg-server/hw/dmx/man/Makefile.am2
-rw-r--r--xorg-server/hw/dmx/man/Xdmx.man (renamed from xorg-server/hw/dmx/Xdmx.man)0
8 files changed, 7 insertions, 43 deletions
diff --git a/xorg-server/hw/dmx/Makefile.am b/xorg-server/hw/dmx/Makefile.am
index 2a87c3966..e0b201b82 100644
--- a/xorg-server/hw/dmx/Makefile.am
+++ b/xorg-server/hw/dmx/Makefile.am
@@ -1,5 +1,5 @@
-SUBDIRS = input config examples doc
+SUBDIRS = input config examples doc man
bin_PROGRAMS = Xdmx
if XINERAMA
@@ -85,28 +85,5 @@ Xdmx_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG)
Xdmx_DEPENDENCIES= $(XDMX_LIBS)
Xdmx_LDADD = $(XDMX_LIBS) $(XDMX_SYS_LIBS) $(XSERVER_SYS_LIBS)
-# Man page
-appmandir = $(APP_MAN_DIR)
-
-appman_PRE = Xdmx.man
-appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
-
-CLEANFILES = $(appman_DATA)
-
-# Strings to replace in man pages
-XORGRELSTRING = @PACKAGE_STRING@
- XORGMANNAME = X Version 11
-
-MAN_SUBSTS = \
- -e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
- -e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g'
-
-SUFFIXES = .$(APP_MAN_SUFFIX) .man
-
-.man.$(APP_MAN_SUFFIX):
- $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
-
-EXTRA_DIST = $(appman_PRE)
-
relink:
$(AM_V_at)rm -f Xdmx$(EXEEXT) && $(MAKE) Xdmx$(EXEEXT)
diff --git a/xorg-server/hw/dmx/config/Makefile.am b/xorg-server/hw/dmx/config/Makefile.am
index 25a814e79..de4ce315d 100644
--- a/xorg-server/hw/dmx/config/Makefile.am
+++ b/xorg-server/hw/dmx/config/Makefile.am
@@ -1,3 +1,5 @@
+SUBDIRS = man
+
noinst_LIBRARIES = libdmxconfig.a
LIBSRCS = parser.y \
@@ -53,26 +55,7 @@ dmxtodmx_DEPENDENCIES = libdmxconfig.a
dmxtodmx_SOURCES = dmxtodmx.c
dmxtodmx_LDADD = -L. -ldmxconfig
-appmandir = $(APP_MAN_DIR)
-
-appman_PRE = xdmxconfig.man vdltodmx.man dmxtodmx.man
-appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
-
-CLEANFILES = $(appman_DATA)
-
-SUFFIXES = .$(APP_MAN_SUFFIX) .man
-
-# Strings to replace in man pages
-XORGRELSTRING = @PACKAGE_STRING@
- XORGMANNAME = X Version 11
-
-MAN_SUBSTS = -e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|'
-
-.man.$(APP_MAN_SUFFIX):
- $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@
-
EXTRA_DIST = \
- $(appman_PRE) \
test-a.in test-a.out \
test-b.in test-b.out \
test-c.in test-c.out \
diff --git a/xorg-server/hw/dmx/config/man/Makefile.am b/xorg-server/hw/dmx/config/man/Makefile.am
new file mode 100644
index 000000000..9bb62a4c6
--- /dev/null
+++ b/xorg-server/hw/dmx/config/man/Makefile.am
@@ -0,0 +1,2 @@
+include $(top_srcdir)/manpages.am
+appman_PRE = xdmxconfig.man vdltodmx.man dmxtodmx.man
diff --git a/xorg-server/hw/dmx/config/dmxtodmx.man b/xorg-server/hw/dmx/config/man/dmxtodmx.man
index 68c7f5b40..68c7f5b40 100644
--- a/xorg-server/hw/dmx/config/dmxtodmx.man
+++ b/xorg-server/hw/dmx/config/man/dmxtodmx.man
diff --git a/xorg-server/hw/dmx/config/vdltodmx.man b/xorg-server/hw/dmx/config/man/vdltodmx.man
index b733db7ab..b733db7ab 100644
--- a/xorg-server/hw/dmx/config/vdltodmx.man
+++ b/xorg-server/hw/dmx/config/man/vdltodmx.man
diff --git a/xorg-server/hw/dmx/config/xdmxconfig.man b/xorg-server/hw/dmx/config/man/xdmxconfig.man
index dcceea0e3..dcceea0e3 100644
--- a/xorg-server/hw/dmx/config/xdmxconfig.man
+++ b/xorg-server/hw/dmx/config/man/xdmxconfig.man
diff --git a/xorg-server/hw/dmx/man/Makefile.am b/xorg-server/hw/dmx/man/Makefile.am
new file mode 100644
index 000000000..e717aefe2
--- /dev/null
+++ b/xorg-server/hw/dmx/man/Makefile.am
@@ -0,0 +1,2 @@
+include $(top_srcdir)/manpages.am
+appman_PRE = Xdmx.man
diff --git a/xorg-server/hw/dmx/Xdmx.man b/xorg-server/hw/dmx/man/Xdmx.man
index 9c8bdea00..9c8bdea00 100644
--- a/xorg-server/hw/dmx/Xdmx.man
+++ b/xorg-server/hw/dmx/man/Xdmx.man