Hi-

In that Makefile, it links mh-profile.5 and mh_profile.5 in the install
step, but fails if mh_profile.5 is already there for some reason. I use the
appended patch to just force removal before creating the link. Not sure if
it should really use some $(RM) make variable or some such, though.

[EMAIL PROTECTED]


--- ../../nmh-1.0.2-DIST/man/Makefile.in        Wed Oct 13 07:56:41 1999
+++ man/Makefile.in     Sat Dec 11 11:52:33 1999
@@ -146,8 +146,9 @@
          $(INSTALL_DATA) $$file $(mandir)/man$(manext5) ; \
        done
        if [ ! -f mh_profile.$(manext5) ] ; then \
-         ( cd $(mandir)/man$(manext5) ; ln mh-profile.$(manext5) \
-            mh_profile.$(manext5) ) \
+         ( cd $(mandir)/man$(manext5) ; \
+           rm -f mh_profile.$(manext5) ; \
+           ln mh-profile.$(manext5) mh_profile.$(manext5) ) \
        fi

 # install the man pages in man8

Reply via email to