From: Pierangelo Masarati Date: Sat, 13 Aug 2005 15:22:09 +0000 (+0000) Subject: alternate fix to ITS#3916 X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~715 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5631f25839a4a83521993639a96909267ea7bce6;p=openldap alternate fix to ITS#3916 --- diff --git a/build/man.mk b/build/man.mk index 4052ab3333..9fe4528e52 100644 --- a/build/man.mk +++ b/build/man.mk @@ -39,12 +39,12 @@ install-common: -$(MKDIR) $(DESTDIR)$(MANDIR) PAGES=`cd $(srcdir); echo *.$(MANSECT)`; \ for page in $$PAGES; do \ - echo "installing $(MANDIR)/$$page"; \ + echo "installing $$page in $(DESTDIR)$(MANDIR)"; \ $(RM) $(DESTDIR)$(MANDIR)/$$page; \ $(INSTALL) $(INSTALLFLAGS) -m 644 $$page.$(TMP_SUFFIX) $(DESTDIR)$(MANDIR)/$$page; \ if test -f "$(srcdir)/$$page.links" ; then \ for link in `$(CAT) $(srcdir)/$$page.links`; do \ - echo "installing $(MANDIR)/$$link as link to $$page"; \ + echo "installing $$link in $(DESTDIR)$(MANDIR) as link to $$page"; \ $(RM) $(DESTDIR)$(MANDIR)/$$link ; \ $(LN_S) $(DESTDIR)$(MANDIR)/$$page $(DESTDIR)$(MANDIR)/$$link; \ done; \