summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2006-02-12 18:19:22 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2006-02-12 18:19:22 +0000
commit88f4e37d937f171352dc0089a0903c0a3d9487d8 (patch)
treea4bee7299b0edeeb799f17d8986b33792bb3489c /man
parentc6541af3ef1cfaba57a73369090b6ac1a38b9b1e (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 567d5a6..cd175c5 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 = Xrandr.man
libman_DATA = $(libman_PRE:man=@LIB_MAN_SUFFIX@) \
@@ -76,5 +78,5 @@ Xrandr_shadows = \
shadows.DONE:
-rm -f $(Xrandr_shadows:=.@LIB_MAN_SUFFIX@)
(for i in $(Xrandr_shadows:=.@LIB_MAN_SUFFIX@) ; do \
- echo .so man$(LIB_MAN_SUFFIX)/Xrandr.$(LIB_MAN_SUFFIX) > $$i; \
+ echo .so man$(LIB_MAN_DIR_SUFFIX)/Xrandr.$(LIB_MAN_SUFFIX) > $$i; \
done)