Ticket #3770: patch-Makefile.diff

File patch-Makefile.diff, 1.0 KB (added by benwill@…, 19 years ago)

Patch against patch-Makefile to make a /opt/local/bin/unison a symlink

  • patch-Makefile

    old new  
    1 --- Makefile.orig       2004-09-07 04:15:46.000000000 +0900
    2 +++ Makefile    2005-05-20 17:00:59.000000000 +0900
    3 @@ -60,14 +60,12 @@
     1--- Makefile.orig       2005-03-12 08:17:58.000000000 -0800
     2+++ Makefile    2005-06-29 17:21:56.000000000 -0700
     3@@ -67,14 +67,12 @@
    44 ######################################################################
    55 # Installation
    66 
     
    1010+.PHONY: install
    1111 install: $(NAME)$(EXEC_EXT)
    1212-       -mv $(INSTALLDIR)/$(NAME)$(EXEC_EXT) /tmp/$(NAME)-$(shell echo $$$$)
    13         cp $(NAME)$(EXEC_EXT) $(INSTALLDIR)
     13-       cp $(NAME)$(EXEC_EXT) $(INSTALLDIR)
    1414        cp $(NAME)$(EXEC_EXT) $(INSTALLDIR)$(NAME)-$(VERSION)$(EXEC_EXT)
    1515-       @# If we're running at Penn, install a public version too
    1616-       if [ -d /plclub/bin ]; then cp $(NAME)$(EXEC_EXT) /plclub/bin/$(NAME)-$(VERSION)$(EXEC_EXT); fi
     17+       ln -s $(NAME)-$(VERSION)$(EXEC_EXT) $(INSTALLDIR)$(NAME)$(EXEC_EXT)
    1718 
    1819 
    1920 ######################################################################