summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2006-02-12 18:19:23 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2006-02-12 18:19:23 +0000
commit9ec9ba4c4539b27d819553fa4be73745b4fdfbf7 (patch)
treeed3636cf6753969194bd63f9da859791337fa812 /man
parent5ab70ae500ec62fc89c7fa783f60db87d8b934a7 (diff)
Bug #5628 <https://bugs.freedesktop.org/show_bug.cgi?id=5628> Shadow pagesXORG-7_0_99_901
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 121e6e6..140b35b 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 = XDGA.man
BUILT_SOURCES = shadows.DONE
@@ -81,5 +83,5 @@ XDGA_shadows = XF86DGA XFree86-DGA $(DGAFUNCS)
shadows.DONE:
-rm -f $(XDGA_shadows:=.@LIB_MAN_SUFFIX@)
(for i in $(XDGA_shadows:=.@LIB_MAN_SUFFIX@) ; do \
- echo .so man$(LIB_MAN_SUFFIX)/XDGA.$(LIB_MAN_SUFFIX) > $$i; \
+ echo .so man$(LIB_MAN_DIR_SUFFIX)/XDGA.$(LIB_MAN_SUFFIX) > $$i; \
done)