[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Linux-cluster] fix DESTDIR in dlm



When using DESTDIR $(libdir) contains it and thus created
symlinks are broken (in terms of DESTDIR purpose), this patch fixes it:

diff -urN dlm.org/lib/Makefile dlm/lib/Makefile
--- dlm.org/lib/Makefile2004-06-25 12:40:01.615519264 +0200
+++ dlm/lib/Makefile2004-06-25 12:40:15.421420448 +0200
@@ -56,8 +56,8 @@
 install -d ${libdir}
 install $(LIBNAME).a ${libdir}
 install $(LIBNAME).so.$(RELEASE_MAJOR).$(RELEASE_MINOR) ${libdir}
-ln -sf ${libdir}/$(LIBNAME).so.$(RELEASE_MAJOR).$(RELEASE_MINOR) ${libdir}/$(LIBNAME).so
-ln -sf ${libdir}/$(LIBNAME).so.$(RELEASE_MAJOR).$(RELEASE_MINOR) ${libdir}/$(LIBNAME).so.$(RELEASE_MAJOR)
+ln -sf $(LIBNAME).so.$(RELEASE_MAJOR).$(RELEASE_MINOR) ${libdir}/$(LIBNAME).so
+ln -sf $(LIBNAME).so.$(RELEASE_MAJOR).$(RELEASE_MINOR) ${libdir}/$(LIBNAME).so.$(RELEASE_MAJOR)
 
 uninstall:
 ${UNINSTALL} libdlm.h ${incdir}
-- 
Arkadiusz Miśkiewicz     CS at FoE, Wroclaw University of Technology
arekm.pld-linux.org, 1024/3DB19BBD, JID: arekm.jabber.org, PLD/Linux


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]