[Mplayer-cvslog] CVS: main/libdha Makefile,1.6,1.7

Nick Kurshev nick at mplayer.dev.hu
Thu Jan 17 10:01:52 CET 2002


Update of /cvsroot/mplayer/main/libdha
In directory mplayer:/var/tmp.root/cvs-serv3003/main/libdha

Modified Files:
	Makefile 
Log Message:
Use 'install' instead of 'cp'

Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/libdha/Makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- Makefile	15 Jan 2002 14:49:36 -0000	1.6
+++ Makefile	17 Jan 2002 09:01:42 -0000	1.7
@@ -49,7 +49,8 @@
 	$(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
 
 install:
-	cp $(LIBNAME) $(prefix)/lib/$(LIBNAME)
+	mkdir -p $(prefix)/lib
+	install -m 755 -s -p $(LIBNAME) $(prefix)/lib/$(LIBNAME)
 	rm -f $(prefix)/lib/libdha.so
 	ln -sf $(LIBNAME) $(prefix)/lib/libdha.so
 	ldconfig




More information about the MPlayer-cvslog mailing list