Remove hardlink target before attempting new link.
authorlyndon <lyndon@treebeard.orthanc.ca>
Thu, 26 Jan 2012 04:10:52 +0000 (20:10 -0800)
committerlyndon <lyndon@treebeard.orthanc.ca>
Thu, 26 Jan 2012 04:10:52 +0000 (20:10 -0800)
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