aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-05 00:39:54 +0000
committerGravatar arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-05 00:39:54 +0000
commit2164dcdbe89856b7c24f6184ac6a73f39146f2d2 (patch)
tree68cdba1544ced2a6ceb042d36186da291cb38c8a /Makefile
parentf351f3b2eb1fb3098b117c8a784a5a5361f42fcd (diff)
BSD/OS support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2090 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 54f1ecd3d6..2a12ef8fbd 100644
--- a/Makefile
+++ b/Makefile
@@ -113,15 +113,19 @@ $(PRG_CFG): version.h codec-cfg.c codec-cfg.h
$(CC) $(CFLAGS) -g codec-cfg.c -o $(PRG_CFG) -DCODECS2HTML
install: $(PRG) $(PRG_FIBMAP)
- install -d $(BINDIR)
+ if [ ! -e $(BINDIR) ]; then \
+ mkdir -p $(BINDIR); \
+ fi
install -m 755 -s $(PRG) $(BINDIR)/$(PRG)
- install -d $(prefix)/man/man1
- install -m 644 DOCS/mplayer.1 $(prefix)/man/man1/mplayer.1
+ if [ ! -e $(prefix)/man/man1 ]; then \
+ mkdir -p $(prefix)/man/man1; \
+ fi
+ install -c -m 644 DOCS/mplayer.1 $(prefix)/man/man1/mplayer.1
@echo "Following task requires root privs. If it fails don't panic"
@echo "however it means you can't use fibmap_mplayer."
@echo "Without this (or without running mplayer as root) you won't be"
@echo "able to play encrypted DVDs."
- install -o 0 -g 0 -m 4755 -s $(PRG_FIBMAP) $(BINDIR)/$(PRG_FIBMAP)
+ -install -o 0 -g 0 -m 4755 -s $(PRG_FIBMAP) $(BINDIR)/$(PRG_FIBMAP)
clean:
rm -f *.o *~ $(OBJS)