Skip to content

Commit

Permalink
Makefile fix
Browse files Browse the repository at this point in the history
Do not fail on already existsing symlinks.
  • Loading branch information
Benedek László committed Oct 30, 2012
1 parent 4b3d243 commit 47b0d31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ install: $(LIB)
install -m 0644 libcli.h $(DESTDIR)$(PREFIX)/include install -m 0644 libcli.h $(DESTDIR)$(PREFIX)/include
install -m 0755 $(LIB).$(MAJOR).$(MINOR).$(REVISION) $(DESTDIR)$(PREFIX)/lib install -m 0755 $(LIB).$(MAJOR).$(MINOR).$(REVISION) $(DESTDIR)$(PREFIX)/lib
cd $(DESTDIR)$(PREFIX)/lib && \ cd $(DESTDIR)$(PREFIX)/lib && \
ln -s $(LIB).$(MAJOR).$(MINOR).$(REVISION) $(LIB).$(MAJOR).$(MINOR) && \ ln -fs $(LIB).$(MAJOR).$(MINOR).$(REVISION) $(LIB).$(MAJOR).$(MINOR) && \
ln -s $(LIB).$(MAJOR).$(MINOR) $(LIB) ln -fs $(LIB).$(MAJOR).$(MINOR) $(LIB)


rpm: rpm:
mkdir libcli-$(MAJOR).$(MINOR).$(REVISION) mkdir libcli-$(MAJOR).$(MINOR).$(REVISION)
Expand Down

0 comments on commit 47b0d31

Please sign in to comment.