force link making when installing, for idempotence
authorJameson Rollins <jrollins@finestructure.net>
Tue, 14 Sep 2010 17:36:14 +0000 (13:36 -0400)
committerJameson Rollins <jrollins@finestructure.net>
Tue, 14 Sep 2010 17:36:14 +0000 (13:36 -0400)
Makefile

index a3bf9e5fb3e8f809227f87eaddb7829e72e25846..201abf43e8a79b764f3985d4a9d89e4e443f450a 100755 (executable)
--- a/Makefile
+++ b/Makefile
@@ -54,8 +54,8 @@ install: all installman
        sed -i 's:__SYSDATADIR_PREFIX__:$(LOCALSTATEDIR):' $(DESTDIR)$(PREFIX)/share/monkeysphere/defaultenv
        install -m 0755 src/share/checkperms $(DESTDIR)$(PREFIX)/share/monkeysphere
        install -m 0755 src/share/keytrans $(DESTDIR)$(PREFIX)/share/monkeysphere
-       ln -s ../share/monkeysphere/keytrans $(DESTDIR)$(PREFIX)/bin/pem2openpgp
-       ln -s ../share/monkeysphere/keytrans $(DESTDIR)$(PREFIX)/bin/openpgp2ssh
+       ln -sf ../share/monkeysphere/keytrans $(DESTDIR)$(PREFIX)/bin/pem2openpgp
+       ln -sf ../share/monkeysphere/keytrans $(DESTDIR)$(PREFIX)/bin/openpgp2ssh
        install -m 0744 src/transitions/* $(DESTDIR)$(PREFIX)/share/monkeysphere/transitions
        sed -i 's:__SYSSHAREDIR_PREFIX__:$(PREFIX):' $(DESTDIR)$(PREFIX)/share/monkeysphere/transitions/0.23
        sed -i 's:__SYSSHAREDIR_PREFIX__:$(PREFIX):' $(DESTDIR)$(PREFIX)/share/monkeysphere/transitions/0.28