summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2006-02-12 18:19:20 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2006-02-12 18:19:20 +0000
commitd7d53b5a5b6efc54b405006103fce1721853aa02 (patch)
treee8480ea2818f13a808fe2b90ba6e972a233d230f /man
parent4cfcdcae80e4e54c40cafcde1f7d341c0a9eccf5 (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 'man')
-rw-r--r--man/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 8a625ba..7494551 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -27,6 +27,8 @@
libmandir = $(LIB_MAN_DIR)
+LIB_MAN_DIR_SUFFIX = $(LIB_MAN_DIR:@mandir@/man%=%)
+
libman_PRE = XRes.man
BUILT_SOURCES = shadows.DONE
@@ -69,5 +71,5 @@ XRes_shadows = \
shadows.DONE:
-rm -f $(XRes_shadows:=.@LIB_MAN_SUFFIX@)
(for i in $(XRes_shadows:=.@LIB_MAN_SUFFIX@) ; do \
- echo .so man$(LIB_MAN_SUFFIX)/XRes.$(LIB_MAN_SUFFIX) > $$i; \
+ echo .so man$(LIB_MAN_DIR_SUFFIX)/XRes.$(LIB_MAN_SUFFIX) > $$i; \
done)