Permalink
Browse files

Makefile fix

Do not fail on already existsing symlinks.
  • Loading branch information...
1 parent 4b3d243 commit 47b0d314c89ddf82a771f9a3722e238cb3dd79d8 Benedek László committed Oct 30, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Makefile
View
4 Makefile
@@ -54,8 +54,8 @@ install: $(LIB)
install -m 0644 libcli.h $(DESTDIR)$(PREFIX)/include
install -m 0755 $(LIB).$(MAJOR).$(MINOR).$(REVISION) $(DESTDIR)$(PREFIX)/lib
cd $(DESTDIR)$(PREFIX)/lib && \
- ln -s $(LIB).$(MAJOR).$(MINOR).$(REVISION) $(LIB).$(MAJOR).$(MINOR) && \
- ln -s $(LIB).$(MAJOR).$(MINOR) $(LIB)
+ ln -fs $(LIB).$(MAJOR).$(MINOR).$(REVISION) $(LIB).$(MAJOR).$(MINOR) && \
+ ln -fs $(LIB).$(MAJOR).$(MINOR) $(LIB)
rpm:
mkdir libcli-$(MAJOR).$(MINOR).$(REVISION)

0 comments on commit 47b0d31

Please sign in to comment.