diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2011-01-09 20:28:28 -0500 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-01-18 15:11:06 -0800 |
commit | c86f7c2b8eedd3126066a3aff44bc8767eb5e277 (patch) | |
tree | dcc7b4f0e60ecf8fb2e4a24ab40649e1206e9aff | |
parent | 9bd9d550a0d6fb4fe3daacb604658de92e69d99c (diff) |
Xdmx: build all man pages using XORG_MANPAGE_SECTIONS
Use standard directory and makefile.
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: RĂ©mi Cardona <remi@gentoo.org>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | hw/dmx/Makefile.am | 25 | ||||
-rw-r--r-- | hw/dmx/config/Makefile.am | 21 | ||||
-rw-r--r-- | hw/dmx/config/man/Makefile.am | 10 | ||||
-rw-r--r-- | hw/dmx/config/man/dmxtodmx.man (renamed from hw/dmx/config/dmxtodmx.man) | 0 | ||||
-rw-r--r-- | hw/dmx/config/man/vdltodmx.man (renamed from hw/dmx/config/vdltodmx.man) | 0 | ||||
-rw-r--r-- | hw/dmx/config/man/xdmxconfig.man (renamed from hw/dmx/config/xdmxconfig.man) | 0 | ||||
-rw-r--r-- | hw/dmx/man/Makefile.am | 10 | ||||
-rw-r--r-- | hw/dmx/man/Xdmx.man (renamed from hw/dmx/Xdmx.man) | 0 |
9 files changed, 25 insertions, 43 deletions
diff --git a/configure.ac b/configure.ac index 45756ed70..41d6e6605 100644 --- a/configure.ac +++ b/configure.ac @@ -2239,11 +2239,13 @@ hw/xfree86/utils/man/Makefile hw/xfree86/utils/cvt/Makefile hw/xfree86/utils/gtf/Makefile hw/dmx/config/Makefile +hw/dmx/config/man/Makefile hw/dmx/doc/Makefile hw/dmx/examples/Makefile hw/dmx/input/Makefile hw/dmx/glxProxy/Makefile hw/dmx/Makefile +hw/dmx/man/Makefile hw/vfb/Makefile hw/vfb/man/Makefile hw/xnest/Makefile diff --git a/hw/dmx/Makefile.am b/hw/dmx/Makefile.am index 2a87c3966..e0b201b82 100644 --- a/hw/dmx/Makefile.am +++ b/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/hw/dmx/config/Makefile.am b/hw/dmx/config/Makefile.am index 25a814e79..de4ce315d 100644 --- a/hw/dmx/config/Makefile.am +++ b/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/hw/dmx/config/man/Makefile.am b/hw/dmx/config/man/Makefile.am new file mode 100644 index 000000000..c12c78f87 --- /dev/null +++ b/hw/dmx/config/man/Makefile.am @@ -0,0 +1,10 @@ +appmandir = $(APP_MAN_DIR) +appman_PRE = xdmxconfig.man vdltodmx.man dmxtodmx.man +appman_DATA = $(appman_PRE:man=$(APP_MAN_SUFFIX)) + +EXTRA_DIST = $(appman_PRE) +CLEANFILES = $(appman_DATA) +SUFFIXES = .$(APP_MAN_SUFFIX) .man + +.man.$(APP_MAN_SUFFIX): + $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ diff --git a/hw/dmx/config/dmxtodmx.man b/hw/dmx/config/man/dmxtodmx.man index 68c7f5b40..68c7f5b40 100644 --- a/hw/dmx/config/dmxtodmx.man +++ b/hw/dmx/config/man/dmxtodmx.man diff --git a/hw/dmx/config/vdltodmx.man b/hw/dmx/config/man/vdltodmx.man index b733db7ab..b733db7ab 100644 --- a/hw/dmx/config/vdltodmx.man +++ b/hw/dmx/config/man/vdltodmx.man diff --git a/hw/dmx/config/xdmxconfig.man b/hw/dmx/config/man/xdmxconfig.man index dcceea0e3..dcceea0e3 100644 --- a/hw/dmx/config/xdmxconfig.man +++ b/hw/dmx/config/man/xdmxconfig.man diff --git a/hw/dmx/man/Makefile.am b/hw/dmx/man/Makefile.am new file mode 100644 index 000000000..a0522ae84 --- /dev/null +++ b/hw/dmx/man/Makefile.am @@ -0,0 +1,10 @@ +appmandir = $(APP_MAN_DIR) +appman_PRE = Xdmx.man +appman_DATA = $(appman_PRE:man=$(APP_MAN_SUFFIX)) + +EXTRA_DIST = $(appman_PRE) +CLEANFILES = $(appman_DATA) +SUFFIXES = .$(APP_MAN_SUFFIX) .man + +.man.$(APP_MAN_SUFFIX): + $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ diff --git a/hw/dmx/Xdmx.man b/hw/dmx/man/Xdmx.man index 9c8bdea00..9c8bdea00 100644 --- a/hw/dmx/Xdmx.man +++ b/hw/dmx/man/Xdmx.man |