Remove hardlink target before attempting new link.
[mmh] / Makefile.am
index 9e43b59..f7b8661 100644 (file)
@@ -365,6 +365,7 @@ install-exec-hook:
        fi
 
 install-data-hook:
+       rm -f $(DESTDIR)/$(man5dir)/mh_profile.5
        ln $(DESTDIR)/$(man5dir)/mh-profile.5 $(DESTDIR)/$(man5dir)/mh_profile.5
 ##
 ## Make sure we remove those links at uninstall time