Skip to content
Snippets Groups Projects
Commit 542ff68e authored by Gaetan Nadon's avatar Gaetan Nadon
Browse files

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: default avatarGaetan Nadon <memsize@videotron.ca>
parent 976db8a6
No related branches found
No related tags found
No related merge requests found
libmandir = $(LIB_MAN_DIR)
LIB_MAN_DIR_SUFFIX = $(LIB_MAN_DIR:@mandir@/man%=%)
libman_xml = Xcomposite.xml
libman_PRE = $(libman_xml:xml=man)
libman_PRE = $(libman_xml:xml=man) \
$(Xcomposite_shadows:=.man)
Xcomposite_man_aliases = \
Xcomposite_shadows = \
XCompositeQueryExtension \
XCompositeQueryVersion \
XCompositeVersion \
......@@ -19,22 +18,16 @@ Xcomposite_man_aliases = \
XCompositeGetOverlayWindow \
XCompositeReleaseOverlayWindow
Xcomposite_shadowmen = $(Xcomposite_man_aliases:=.@LIB_MAN_SUFFIX@)
if INSTALL_MANPAGES
libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@) \
$(Xcomposite_shadowmen)
$(Xcomposite_shadows:=.@LIB_MAN_SUFFIX@)
endif
EXTRA_DIST = $(libman_PRE) $(libman_xml)
CLEANFILES = $(libman_DATA)
MAINTAINERCLEANFILES = $(libman_PRE)
# Generate man page shadow files (Replaces InstallManPageAliases from Imake)
$(Xcomposite_shadowmen):
$(AM_V_GEN) echo .so man$(LIB_MAN_DIR_SUFFIX)/Xcomposite.$(LIB_MAN_SUFFIX) > $@
MAINTAINERCLEANFILES = $(libman_xml:xml=man)
SUFFIXES = .$(LIB_MAN_SUFFIX) .man .xml
......
.so man__libmansuffix__/Xcomposite.__libmansuffix__
.so man__libmansuffix__/Xcomposite.__libmansuffix__
.so man__libmansuffix__/Xcomposite.__libmansuffix__
.so man__libmansuffix__/Xcomposite.__libmansuffix__
.so man__libmansuffix__/Xcomposite.__libmansuffix__
.so man__libmansuffix__/Xcomposite.__libmansuffix__
.so man__libmansuffix__/Xcomposite.__libmansuffix__
.so man__libmansuffix__/Xcomposite.__libmansuffix__
.so man__libmansuffix__/Xcomposite.__libmansuffix__
.so man__libmansuffix__/Xcomposite.__libmansuffix__
.so man__libmansuffix__/Xcomposite.__libmansuffix__
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment