diff options
author | nick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-17 09:01:50 +0000 |
---|---|---|
committer | nick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-17 09:01:50 +0000 |
commit | 785650a45bed296993bf04300b13a8ff6f5ec431 (patch) | |
tree | 5f00df622c10090ca39d16e303d519dd56fc4b9b | |
parent | 79cef0fa51ba2226701eb180358cf3688fdfecca (diff) |
Use 'install' instead of 'cp'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4216 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libdha/Makefile | 3 | ||||
-rw-r--r-- | vidix/drivers/Makefile | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/libdha/Makefile b/libdha/Makefile index 13e789e974..a1d45bf2a6 100644 --- a/libdha/Makefile +++ b/libdha/Makefile @@ -49,7 +49,8 @@ depend: $(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 diff --git a/vidix/drivers/Makefile b/vidix/drivers/Makefile index a3cfc040e0..cec08f342e 100644 --- a/vidix/drivers/Makefile +++ b/vidix/drivers/Makefile @@ -97,7 +97,7 @@ depend: install: mkdir -p $(BINDIR) - cp *.so $(BINDIR) + install -m 755 -s -p *.so $(BINDIR) # # include dependency files if they exist # |