diff options
-rw-r--r-- | Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -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" |