Skip to content

Commit

Permalink
Updated DSO install commands - now remove the symlink before remaking…
Browse files Browse the repository at this point in the history
… it.

git-svn-id: file:///fltk/svn/fltk/trunk@356 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
michaelrsweet committed Mar 4, 1999
1 parent d38b07c commit 681ff11
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Makefile
@@ -1,5 +1,5 @@
#
# "$Id: Makefile,v 1.15 1999/02/23 15:37:19 mike Exp $"
# "$Id: Makefile,v 1.16 1999/03/04 14:54:18 mike Exp $"
#
# Library makefile for the Fast Light Tool Kit (FLTK).
#
Expand Down Expand Up @@ -176,9 +176,11 @@ install: ../lib/$(LIBNAME)
-mkdir -p $(libdir)
-cp ../lib/$(LIBNAME)* $(libdir)
if test $(LIBNAME) = libfltk.so.1; then\
rm -f $(libdir)/libfltk.so;\
ln -s $(libdir)/libfltk.so.1 $(libdir)/libfltk.so;\
fi
if test $(LIBNAME) = libfltk.sl.1; then\
rm -f $(libdir)/libfltk.sl;\
ln -s $(libdir)/libfltk.sl.1 $(libdir)/libfltk.sl;\
fi
@-chmod a+r,u+w,g-w,o-w $(libdir)/$(LIBNAME)*
Expand All @@ -193,5 +195,5 @@ install: ../lib/$(LIBNAME)
-ln -s FL $(includedir)/Fl

#
# End of "$Id: Makefile,v 1.15 1999/02/23 15:37:19 mike Exp $".
# End of "$Id: Makefile,v 1.16 1999/03/04 14:54:18 mike Exp $".
#

0 comments on commit 681ff11

Please sign in to comment.