]> git.sur5r.net Git - openldap/commitdiff
alternate fix to ITS#3916
authorPierangelo Masarati <ando@openldap.org>
Sat, 13 Aug 2005 15:22:09 +0000 (15:22 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 13 Aug 2005 15:22:09 +0000 (15:22 +0000)
build/man.mk

index 4052ab3333413331289ccc628b89b28e5b017125..9fe4528e52cc264bff4d474743ca2b058d68ccc7 100644 (file)
@@ -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; \