From 5169f70160881a9e281652f9360842343abfc9c8 Mon Sep 17 00:00:00 2001 From: szabii Date: Sun, 11 Mar 2001 00:43:40 +0000 Subject: [PATCH] cp -> install git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@79 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 73bdad765c..3647dc3078 100644 --- a/Makefile +++ b/Makefile @@ -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 @@ $(PRG_TV): .depend tvision.o $(OBJS) $(COMMONLIBS) $(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: