summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2006-05-08 19:47:10 +0000
committerKevin E Martin <kem@kem.org>2006-05-08 19:47:10 +0000
commitb92b597d7d597dd223371fe0ff60d1b2dad38fda (patch)
tree6b2685d335adf90b7a601818eb4913c892395d93 /Makefile.am
parent253a3e1c94642ccee9a3ed694eecb5382aa22b1e (diff)
Bug #5628 <https://bugs.freedesktop.org/show_bug.cgi?id=5628> Shadow pages
not created correctly when MANDIR & MANSUFFIX don't match.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index cd26ed8..e2de3c8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -29,6 +29,8 @@ xauinclude_HEADERS = include/X11/Xauth.h
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = xau.pc
+LIB_MAN_DIR_SUFFIX = $(LIB_MAN_DIR:@mandir@/man%=%)
+
libmandir = $(LIB_MAN_DIR)
libman_PRE = Xau.man
BUILT_SOURCES = shadows.DONE
@@ -51,7 +53,7 @@ Xau_shadows = \
shadows.DONE:
-rm -f $(Xau_shadows:=.@LIB_MAN_SUFFIX@)
(for i in $(Xau_shadows:=.@LIB_MAN_SUFFIX@) ; do \
- echo .so man$(LIB_MAN_SUFFIX)/Xau.$(LIB_MAN_SUFFIX) > $$i; \
+ echo .so man$(LIB_MAN_DIR_SUFFIX)/Xau.$(LIB_MAN_SUFFIX) > $$i; \
done)
XORGRELSTRING = @PACKAGE_STRING@