changeset 4215:14b8bc735bf5

Use 'install' instead of 'cp'
author nick
date Thu, 17 Jan 2002 09:01:50 +0000
parents 664984198aef
children ffb8428f39e2
files libdha/Makefile vidix/drivers/Makefile
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libdha/Makefile	Thu Jan 17 01:32:29 2002 +0000
+++ b/libdha/Makefile	Thu Jan 17 09:01:50 2002 +0000
@@ -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
--- a/vidix/drivers/Makefile	Thu Jan 17 01:32:29 2002 +0000
+++ b/vidix/drivers/Makefile	Thu Jan 17 09:01:50 2002 +0000
@@ -97,7 +97,7 @@
 
 install:
 	mkdir -p $(BINDIR)
-	cp *.so $(BINDIR)
+	install -m 755 -s -p *.so $(BINDIR)
 #
 # include dependency files if they exist
 #