summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--man/Makefile.am4
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8a2be7b..3979214 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-02-12 Alan Coopersmith <alan.coopersmith@sun.com>
+
+ * man/Makefile.am:
+ Bug #5628 <https://bugs.freedesktop.org/show_bug.cgi?id=5628>
+ Shadow pages not created correctly when MANDIR & MANSUFFIX don't match.
+
2005-12-14 Kevin E. Martin <kem-at-freedesktop-dot-org>
* configure.ac:
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)