From: Dan Harkless <dan@harkless.org>
Date: Thu, 27 Jan 2000 20:14:58 +0000 (+0000)
Subject: Doug's check for whether mh_profile.5 exists was bad -- it looked in the local
X-Git-Tag: nmh-1_0~88
X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=42ebc5bceefcb8a65eaa9dab779e44d35682ff1e;p=mmh

Doug's check for whether mh_profile.5 exists was bad -- it looked in the local
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.
---

diff --git a/man/Makefile.in b/man/Makefile.in
index 0b580631..469dd8de 100644
--- a/man/Makefile.in
+++ b/man/Makefile.in
@@ -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