diff --git a/Makefile b/Makefile index 8bc05b26f5..15c6320a26 100644 --- a/Makefile +++ b/Makefile @@ -118,16 +118,12 @@ $(PRG_CFG): version.h codec-cfg.c codec-cfg.h $(CC) $(CFLAGS) -g codec-cfg.c -o $(PRG_CFG) -DCODECS2HTML install: $(ALL_PRG) - if [ ! -d $(BINDIR) ]; then \ - mkdir -p $(BINDIR); \ - fi + if test ! -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 [ ! -d $(prefix)/man/man1 ]; then \ - mkdir -p $(prefix)/man/man1; \ - fi + if test ! -d $(prefix)/man/man1 ; then mkdir -p $(prefix)/man/man1; fi install -c -m 644 DOCS/mplayer.1 $(prefix)/man/man1/mplayer.1 ifeq ($(CSS_USE),yes) @echo "Following task requires root privs. If it fails don't panic"