diff Makefile @ 2170:a2f6f5854306

tests with '[ ]' changed to 'test'
author pl
date Thu, 11 Oct 2001 23:35:52 +0000
parents d157f31719f6
children 966ec115c87f
line wrap: on
line diff
--- a/Makefile	Thu Oct 11 23:28:58 2001 +0000
+++ b/Makefile	Thu Oct 11 23:35:52 2001 +0000
@@ -118,16 +118,12 @@
 	$(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"