changeset 78:8b89201970f6

cp -> install
author szabii
date Sun, 11 Mar 2001 00:43:40 +0000
parents 9bbba5880f70
children b7b038ee3fde
files Makefile
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sun Mar 11 00:13:43 2001 +0000
+++ b/Makefile	Sun Mar 11 00:43:40 2001 +0000
@@ -5,6 +5,11 @@
 
 include config.mak
 
+#install...
+OWNER = root
+GROUP = root
+PERM = 755
+
 PRG = mplayer
 PRG_AVIP = aviparse
 PRG_TV = tvision
@@ -60,8 +65,7 @@
 	$(CC) $(CFLAGS) -o $(PRG_TV) tvision.o $(OBJS) -lm $(TERMCAP_LIB) $(VO_LIBS)
 
 install: $(PRG)
-	strip $(PRG)
-	cp $(PRG) $(BINDIR)
+	install -g $(GROUP) -o $(OWNER) -m $(PERM) -s $(PRG) $(BINDIR)
 	install -D -m 644 DOCS/mplayer.1 $(prefix)/man/man1/mplayer.1
 
 clean: