Changed the default install directory to /usr/local in Linux makefiles

Fixed absolute symbolic links to relative ones in Linux makefiles

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1224 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
LaurentGom 2009-09-28 10:07:00 +00:00
parent e3fe614f01
commit b7f7ac7f1a
12 changed files with 12 additions and 12 deletions

View File

@ -20,4 +20,4 @@ mrproper: clean
@rm -rf $(LIBNAME) @rm -rf $(LIBNAME)
install: install:
@($(CP) $(LIBNAME) $(DESTLIBDIR) && $(LN) $(LNFLAGS) $(DESTLIBDIR)/$(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB)) @($(CP) $(LIBNAME) $(DESTLIBDIR) && $(LN) $(LNFLAGS) $(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB))

View File

@ -20,4 +20,4 @@ mrproper: clean
@rm -rf $(LIBNAME) @rm -rf $(LIBNAME)
install: install:
@($(CP) $(LIBNAME) $(DESTLIBDIR) && $(LN) $(LNFLAGS) $(DESTLIBDIR)/$(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB)) @($(CP) $(LIBNAME) $(DESTLIBDIR) && $(LN) $(LNFLAGS) $(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB))

View File

@ -7,7 +7,7 @@ export VERSION = 1.6
export CP = cp export CP = cp
export LN = ln export LN = ln
export LNFLAGS = -s -f export LNFLAGS = -s -f
export DESTDIR = /usr export DESTDIR = /usr/local
export DESTLIBDIR = $(DESTDIR)/lib export DESTLIBDIR = $(DESTDIR)/lib
export DESTINCDIR = $(DESTDIR)/include export DESTINCDIR = $(DESTDIR)/include

View File

@ -20,4 +20,4 @@ mrproper: clean
@rm -rf $(LIBNAME) @rm -rf $(LIBNAME)
install: install:
@($(CP) $(LIBNAME) $(DESTLIBDIR) && $(LN) $(LNFLAGS) $(DESTLIBDIR)/$(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB)) @($(CP) $(LIBNAME) $(DESTLIBDIR) && $(LN) $(LNFLAGS) $(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB))

View File

@ -20,4 +20,4 @@ mrproper: clean
@rm -rf $(LIBNAME) @rm -rf $(LIBNAME)
install: install:
@($(CP) $(LIBNAME) $(DESTLIBDIR) && $(LN) $(LNFLAGS) $(DESTLIBDIR)/$(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB)) @($(CP) $(LIBNAME) $(DESTLIBDIR) && $(LN) $(LNFLAGS) $(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB))

View File

@ -20,4 +20,4 @@ mrproper: clean
@rm -rf $(LIBNAME) @rm -rf $(LIBNAME)
install: install:
@($(CP) $(LIBNAME) $(DESTLIBDIR) && $(LN) $(LNFLAGS) $(DESTLIBDIR)/$(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB)) @($(CP) $(LIBNAME) $(DESTLIBDIR) && $(LN) $(LNFLAGS) $(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB))

View File

@ -10,7 +10,7 @@ ifeq ($(STATIC), yes)
else else
LIB = libsfml-audio.so LIB = libsfml-audio.so
LIBNAME = $(LIBPATH)/$(LIB).$(VERSION) LIBNAME = $(LIBPATH)/$(LIB).$(VERSION)
INSTALL = && $(LN) $(LNFLAGS) $(DESTLIBDIR)/$(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB) INSTALL = && $(LN) $(LNFLAGS) $(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB)
endif endif
all: $(LIB) all: $(LIB)

View File

@ -18,7 +18,7 @@ ifeq ($(STATIC), yes)
else else
LIB = libsfml-graphics.so LIB = libsfml-graphics.so
LIBNAME = $(LIBPATH)/$(LIB).$(VERSION) LIBNAME = $(LIBPATH)/$(LIB).$(VERSION)
INSTALL = && $(LN) $(LNFLAGS) $(DESTLIBDIR)/$(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB) INSTALL = && $(LN) $(LNFLAGS) $(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB)
endif endif
all: $(LIB) all: $(LIB)

View File

@ -27,7 +27,7 @@ export LN = ln
export LNFLAGS = -s -f export LNFLAGS = -s -f
export AR = ar export AR = ar
export ARFLAGS = rcs export ARFLAGS = rcs
export DESTDIR = /usr export DESTDIR = /usr/local
export DESTLIBDIR = $(DESTDIR)/lib export DESTLIBDIR = $(DESTDIR)/lib
export DESTINCDIR = $(DESTDIR)/include export DESTINCDIR = $(DESTDIR)/include

View File

@ -8,7 +8,7 @@ ifeq ($(STATIC), yes)
else else
LIB = libsfml-network.so LIB = libsfml-network.so
LIBNAME = $(LIBPATH)/$(LIB).$(VERSION) LIBNAME = $(LIBPATH)/$(LIB).$(VERSION)
INSTALL = && $(LN) $(LNFLAGS) $(DESTLIBDIR)/$(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB) INSTALL = && $(LN) $(LNFLAGS) $(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB)
endif endif
all: $(LIB) all: $(LIB)

View File

@ -8,7 +8,7 @@ ifeq ($(STATIC), yes)
else else
LIB = libsfml-system.so LIB = libsfml-system.so
LIBNAME = $(LIBPATH)/$(LIB).$(VERSION) LIBNAME = $(LIBPATH)/$(LIB).$(VERSION)
INSTALL = && $(LN) $(LNFLAGS) $(DESTLIBDIR)/$(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB) INSTALL = && $(LN) $(LNFLAGS) $(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB)
endif endif
all: $(LIB) all: $(LIB)

View File

@ -9,7 +9,7 @@ ifeq ($(STATIC), yes)
else else
LIB = libsfml-window.so LIB = libsfml-window.so
LIBNAME = $(LIBPATH)/$(LIB).$(VERSION) LIBNAME = $(LIBPATH)/$(LIB).$(VERSION)
INSTALL = && $(LN) $(LNFLAGS) $(DESTLIBDIR)/$(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB) INSTALL = && $(LN) $(LNFLAGS) $(LIB).$(VERSION) $(DESTLIBDIR)/$(LIB)
endif endif
all: $(LIB) all: $(LIB)