test -e -> -d

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2162 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2001-10-11 11:58:24 +00:00
parent 9e1fd70ee0
commit 78eaed7c86
1 changed files with 2 additions and 2 deletions

View File

@ -118,14 +118,14 @@ $(PRG_CFG): version.h codec-cfg.c codec-cfg.h
$(CC) $(CFLAGS) -g codec-cfg.c -o $(PRG_CFG) -DCODECS2HTML
install: $(ALL_PRG)
if [ ! -e $(BINDIR) ]; then \
if [ ! -d $(BINDIR) ]; then \
mkdir -p $(BINDIR); \
fi
install -m 755 -s $(PRG) $(BINDIR)/$(PRG)
ifeq ($(GUI),yes)
-ln -s $(BINDIR)/$(PRG) $(BINDIR)/gmplayer
endif
if [ ! -e $(prefix)/man/man1 ]; then \
if [ ! -d $(prefix)/man/man1 ]; then \
mkdir -p $(prefix)/man/man1; \
fi
install -c -m 644 DOCS/mplayer.1 $(prefix)/man/man1/mplayer.1