Doug's check for whether mh_profile.5 exists was bad -- it looked in the local
authorDan Harkless <dan@harkless.org>
Thu, 27 Jan 2000 20:14:58 +0000 (20:14 +0000)
committerDan Harkless <dan@harkless.org>
Thu, 27 Jan 2000 20:14:58 +0000 (20:14 +0000)
directory rather than the installation directory, so the check would always
return false and re-installation when mh_profile.5 did exist would bomb out.

man/Makefile.in

index 0b58063..469dd8d 100644 (file)
@@ -145,7 +145,7 @@ install-man5:
        for file in $(MAN5); do \
          $(INSTALL_DATA) $$file $(mandir)/man$(manext5) ; \
        done
-       if [ ! -f mh_profile.$(manext5) ] ; then \
+       if [ ! -f $(mandir)/man$(manext5)/mh_profile.$(manext5) ] ; then \
          ( cd $(mandir)/man$(manext5) ; ln mh-profile.$(manext5) \
             mh_profile.$(manext5) ) \
        fi