comparison Makefile @ 2089:d7920c8257e2

BSD/OS support
author arpi
date Fri, 05 Oct 2001 00:39:54 +0000
parents 14c4f848a767
children d2bed9c43e3b
comparison
equal deleted inserted replaced
2088:c42b1e60934a 2089:d7920c8257e2
111 111
112 $(PRG_CFG): version.h codec-cfg.c codec-cfg.h 112 $(PRG_CFG): version.h codec-cfg.c codec-cfg.h
113 $(CC) $(CFLAGS) -g codec-cfg.c -o $(PRG_CFG) -DCODECS2HTML 113 $(CC) $(CFLAGS) -g codec-cfg.c -o $(PRG_CFG) -DCODECS2HTML
114 114
115 install: $(PRG) $(PRG_FIBMAP) 115 install: $(PRG) $(PRG_FIBMAP)
116 install -d $(BINDIR) 116 if [ ! -e $(BINDIR) ]; then \
117 mkdir -p $(BINDIR); \
118 fi
117 install -m 755 -s $(PRG) $(BINDIR)/$(PRG) 119 install -m 755 -s $(PRG) $(BINDIR)/$(PRG)
118 install -d $(prefix)/man/man1 120 if [ ! -e $(prefix)/man/man1 ]; then \
119 install -m 644 DOCS/mplayer.1 $(prefix)/man/man1/mplayer.1 121 mkdir -p $(prefix)/man/man1; \
122 fi
123 install -c -m 644 DOCS/mplayer.1 $(prefix)/man/man1/mplayer.1
120 @echo "Following task requires root privs. If it fails don't panic" 124 @echo "Following task requires root privs. If it fails don't panic"
121 @echo "however it means you can't use fibmap_mplayer." 125 @echo "however it means you can't use fibmap_mplayer."
122 @echo "Without this (or without running mplayer as root) you won't be" 126 @echo "Without this (or without running mplayer as root) you won't be"
123 @echo "able to play encrypted DVDs." 127 @echo "able to play encrypted DVDs."
124 install -o 0 -g 0 -m 4755 -s $(PRG_FIBMAP) $(BINDIR)/$(PRG_FIBMAP) 128 -install -o 0 -g 0 -m 4755 -s $(PRG_FIBMAP) $(BINDIR)/$(PRG_FIBMAP)
125 129
126 clean: 130 clean:
127 rm -f *.o *~ $(OBJS) 131 rm -f *.o *~ $(OBJS)
128 132
129 distclean: 133 distclean: