[uClibc-cvs] uClibc/libm Makefile,1.36,1.37

Erik Andersen andersen at uclibc.org
Sat Oct 18 10:51:14 UTC 2003


Update of /var/cvs/uClibc/libm
In directory winder:/tmp/cvs-serv7652/libm

Modified Files:
	Makefile 
Log Message:
Peter Kjellerstedt writes:

ln.patch:
* Define $(LN) as ln in Rules.mak.
* Change all occurrences of ln into $(LN).
* Change all constructs like (cd path && ln -sf foo/file file)
  into $(LN) -sf foo/file path/file. The latter construct is
  already used in a number of places so it should not be
  an additional compatibility problem.



Index: Makefile
===================================================================
RCS file: /var/cvs/uClibc/libm/Makefile,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- Makefile	18 Oct 2003 10:20:07 -0000	1.36
+++ Makefile	18 Oct 2003 10:51:01 -0000	1.37
@@ -103,8 +103,8 @@
 	    $(INSTALL) -d $(TOPDIR)lib; \
 	    $(RM) $(TOPDIR)lib/$(LIBM_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBM_SHARED).$(MAJOR_VERSION); \
 	    $(INSTALL) -m 644 $(LIBM_SHARED_FULLNAME) $(TOPDIR)lib; \
-	    (cd $(TOPDIR)lib && ln -sf $(LIBM_SHARED_FULLNAME) $(LIBM_SHARED)); \
-	    (cd $(TOPDIR)lib && ln -sf $(LIBM_SHARED_FULLNAME) $(LIBM_SHARED).$(MAJOR_VERSION)); \
+	    $(LN) -sf $(LIBM_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBM_SHARED); \
+	    $(LN) -sf $(LIBM_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBM_SHARED).$(MAJOR_VERSION); \
 	fi;
 
 ar-target: $(OBJS)




More information about the uClibc-cvs mailing list