summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorszabii <szabii@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-03-11 00:43:40 +0000
committerszabii <szabii@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-03-11 00:43:40 +0000
commit5169f70160881a9e281652f9360842343abfc9c8 (patch)
treed5ba19fea9c7c7d36befce40b370d54bc073de22 /Makefile
parent4ede80633f2380de891a76fbaeeae539a473e065 (diff)
downloadmpv-5169f70160881a9e281652f9360842343abfc9c8.tar.bz2
mpv-5169f70160881a9e281652f9360842343abfc9c8.tar.xz
cp -> install
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@79 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files 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: