From d7d53b5a5b6efc54b405006103fce1721853aa02 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 12 Feb 2006 18:19:20 +0000 Subject: Bug #5628 Shadow pages not created correctly when MANDIR & MANSUFFIX don't match. --- man/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'man') 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) -- cgit v1.2.3