comparison Makefile @ 946:5cbef0829f82

install won't change ownership
author arpi_esp
date Sat, 02 Jun 2001 15:36:33 +0000
parents c91a1f3b4d59
children 829c68d63262
comparison
equal deleted inserted replaced
945:c91a1f3b4d59 946:5cbef0829f82
3 # * for loops instead of linear sequence of make directories 3 # * for loops instead of linear sequence of make directories
4 # * some minor problems with make clean and distclean were corrected 4 # * some minor problems with make clean and distclean were corrected
5 # * DVD support 5 # * DVD support
6 6
7 include config.mak 7 include config.mak
8
9 #install...
10 OWNER = root
11 GROUP = root
12 PERM = 755
13 8
14 PRG = mplayer 9 PRG = mplayer
15 PRG_HQ = mplayerHQ 10 PRG_HQ = mplayerHQ
16 PRG_AVIP = aviparse 11 PRG_AVIP = aviparse
17 PRG_TV = tvision 12 PRG_TV = tvision
79 74
80 $(PRG_CFG): .depend codec-cfg.c codec-cfg.h 75 $(PRG_CFG): .depend codec-cfg.c codec-cfg.h
81 $(CC) $(CFLAGS) -g codec-cfg.c -o $(PRG_CFG) -DCODECS2HTML 76 $(CC) $(CFLAGS) -g codec-cfg.c -o $(PRG_CFG) -DCODECS2HTML
82 77
83 install: $(PRG) 78 install: $(PRG)
84 install -g $(GROUP) -o $(OWNER) -m $(PERM) -s $(PRG) $(BINDIR) 79 install -D -m 755 -s $(PRG) $(BINDIR)
85 install -D -m 644 DOCS/mplayer.1 $(prefix)/man/man1/mplayer.1 80 install -D -m 644 DOCS/mplayer.1 $(prefix)/man/man1/mplayer.1
86 81
87 clean: 82 clean:
88 rm -f *.o *~ $(OBJS) 83 rm -f *.o *~ $(OBJS)
89 84