comparison Makefile @ 2753:94abd6ceca3b

Installing mencoder and mencoder.1 if executable mencoder was compiled before issuing make install
author lgb
date Tue, 06 Nov 2001 23:14:35 +0000
parents d81c978eacc4
children 9b6aea4867fd
comparison
equal deleted inserted replaced
2752:b7eb3840b134 2753:94abd6ceca3b
152 $(CC) $(CFLAGS) -g codec-cfg.c -o $(PRG_CFG) -DCODECS2HTML 152 $(CC) $(CFLAGS) -g codec-cfg.c -o $(PRG_CFG) -DCODECS2HTML
153 153
154 install: $(ALL_PRG) 154 install: $(ALL_PRG)
155 if test ! -d $(BINDIR) ; then mkdir -p $(BINDIR) ; fi 155 if test ! -d $(BINDIR) ; then mkdir -p $(BINDIR) ; fi
156 $(INSTALL) -m 755 -s $(PRG) $(BINDIR)/$(PRG) 156 $(INSTALL) -m 755 -s $(PRG) $(BINDIR)/$(PRG)
157 if test -x $(PRG_MENCODER) ; then $(INSTALL) -m 755 -s $(PRG_MENCODER) $(BINDIR)/$(PRG_MENCODER) ; fi
157 ifeq ($(GUI),yes) 158 ifeq ($(GUI),yes)
158 -ln -sf $(BINDIR)/$(PRG) $(BINDIR)/gmplayer 159 -ln -sf $(BINDIR)/$(PRG) $(BINDIR)/gmplayer
159 endif 160 endif
160 if test ! -d $(prefix)/man/man1 ; then mkdir -p $(prefix)/man/man1; fi 161 if test ! -d $(prefix)/man/man1 ; then mkdir -p $(prefix)/man/man1; fi
161 $(INSTALL) -c -m 644 DOCS/mplayer.1 $(prefix)/man/man1/mplayer.1 162 $(INSTALL) -c -m 644 DOCS/mplayer.1 $(prefix)/man/man1/mplayer.1
163 if test -x $(PRG_MENCODER) ; then $(INSTALL) -c -m 644 DOCS/mencoder.1 $(prefix)/man/man1/mencoder.1 ; fi
162 ifeq ($(CSS_USE),yes) 164 ifeq ($(CSS_USE),yes)
163 @echo "Following task requires root privs. If it fails don't panic" 165 @echo "Following task requires root privs. If it fails don't panic"
164 @echo "however it means you can't use fibmap_mplayer." 166 @echo "however it means you can't use fibmap_mplayer."
165 @echo "Without this (or without running mplayer as root) you won't be" 167 @echo "Without this (or without running mplayer as root) you won't be"
166 @echo "able to play encrypted DVDs." 168 @echo "able to play encrypted DVDs."