[Matroska-cvs] [matroska] r1242 - trunk/libebml/make/linux
mosu at matroska.org
mosu at matroska.org
Thu Mar 30 21:05:14 CEST 2006
Author: mosu
Date: 2006-03-30 23:05:11 +0400 (Thu, 30 Mar 2006)
New Revision: 1242
Modified:
trunk/libebml/make/linux/Makefile
Log:
Small improvements like creating the directory first and avoid failing if the symlink exists already.
Modified: trunk/libebml/make/linux/Makefile
===================================================================
--- trunk/libebml/make/linux/Makefile 2006-01-25 00:59:45 UTC (rev 1241)
+++ trunk/libebml/make/linux/Makefile 2006-03-30 19:05:11 UTC (rev 1242)
@@ -95,6 +95,7 @@
$(LIBRARY_SO): $(objects_so)
$(CXX) -shared -Wl,-soname,$(LIBRARY_SO_VER) -o $(LIBRARY_SO_VER) $(objects_so)
+ rm -f $(LIBRARY_SO)
ln -s $(LIBRARY_SO_VER) $(LIBRARY_SO)
clean:
@@ -138,6 +139,7 @@
$(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY) $(libdir)
install_sharedlib: $(LIBRARY_SO)
+ $(INSTALL) $(INSTALL_DIR_OPTS) -d $(libdir)
$(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY_SO_VER) $(libdir)
ln -s $(LIBRARY_SO_VER) $(libdir)/$(LIBRARY_SO)
More information about the Matroska-cvs
mailing list