Commit 247ad2a3 authored by Gaetan Nadon's avatar Gaetan Nadon

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's avatarGaetan Nadon <memsize@videotron.ca>
parent 8f23ad47
......@@ -23,42 +23,33 @@
libmandir = $(LIB_MAN_DIR)
LIB_MAN_DIR_SUFFIX = $(LIB_MAN_DIR:@mandir@/man%=%)
libman_PRE = Xrandr.man
libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@) \
$(Xrandr_shadowmen)
BUILT_SOURCES = $(Xrandr_shadowmen)
libman_PRE = \
Xrandr.man \
$(Xrandr_shadows:=.man)
Xrandr_shadows = \
XRRQueryExtension \
XRRQueryVersion \
XRRGetScreenInfo \
XRRFreeScreenConfigInfo \
XRRSetScreenConfig \
XRRSetScreenConfigAndRate \
XRRConfigRotations \
XRRConfigTimes \
XRRConfigSizes \
XRRConfigRates \
XRRConfigCurrentConfiguration \
XRRConfigCurrentRate \
XRRRootToScreen \
XRRSelectInput
libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@)
EXTRA_DIST = $(libman_PRE)
CLEANFILES = $(libman_DATA) $(BUILT_SOURCES)
CLEANFILES = $(libman_DATA)
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)
Xrandr_shadows = \
XRRQueryExtension \
XRRQueryVersion \
XRRGetScreenInfo \
XRRFreeScreenConfigInfo \
XRRSetScreenConfig \
XRRSetScreenConfigAndRate \
XRRConfigRotations \
XRRConfigTimes \
XRRConfigSizes \
XRRConfigRates \
XRRConfigCurrentConfiguration \
XRRConfigCurrentRate \
XRRRootToScreen \
XRRSelectInput
Xrandr_shadowmen = $(Xrandr_shadows:=.@LIB_MAN_SUFFIX@)
$(Xrandr_shadowmen):
$(AM_V_GEN)echo ".so man$(LIB_MAN_DIR_SUFFIX)/Xrandr.$(LIB_MAN_SUFFIX)" > $@
.so man__libmansuffix__/Xrandr.__libmansuffix__
.so man__libmansuffix__/Xrandr.__libmansuffix__
.so man__libmansuffix__/Xrandr.__libmansuffix__
.so man__libmansuffix__/Xrandr.__libmansuffix__
.so man__libmansuffix__/Xrandr.__libmansuffix__
.so man__libmansuffix__/Xrandr.__libmansuffix__
.so man__libmansuffix__/Xrandr.__libmansuffix__
.so man__libmansuffix__/Xrandr.__libmansuffix__
.so man__libmansuffix__/Xrandr.__libmansuffix__
.so man__libmansuffix__/Xrandr.__libmansuffix__
.so man__libmansuffix__/Xrandr.__libmansuffix__
.so man__libmansuffix__/Xrandr.__libmansuffix__
.so man__libmansuffix__/Xrandr.__libmansuffix__
.so man__libmansuffix__/Xrandr.__libmansuffix__
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment