Force-link libtonezone.so.2.0 on make install
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>
Sun, 14 Jun 2015 13:27:51 +0000 (16:27 +0300)
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>
Sun, 14 Jun 2015 13:29:30 +0000 (16:29 +0300)
Use ln -sf to create libtonezone.so.2.0 on the install target

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>

Makefile.am

index ae02039..cfd561b 100644 (file)
@@ -108,7 +108,7 @@ clean-local:
 install-exec-hook:
        $(LEGACY_MAKE) install
        @echo "Compatibility symlinks (should be removed in the future)"
-       ln -s libtonezone.so.2.0.0 $(DESTDIR)$(libdir)/libtonezone.so.2.0
+       ln -sf libtonezone.so.2.0.0 $(DESTDIR)$(libdir)/libtonezone.so.2.0
 
 bashcompdir    = $(sysconfdir)/bash_completion.d