From 5beebee053db6f96bc2d8a15a80ec73fc7aef8b5 Mon Sep 17 00:00:00 2001 From: wart Date: Thu, 18 Nov 1999 02:18:35 +0000 Subject: Use mkdir -p to create the install directories (like Tcl already does) --- win/Makefile.in | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/win/Makefile.in b/win/Makefile.in index 12ef257..ac7cf22 100644 --- a/win/Makefile.in +++ b/win/Makefile.in @@ -4,7 +4,7 @@ # "autoconf" program (constructs like "@foo@" will get replaced in the # actual Makefile. # -# RCS: @(#) $Id: Makefile.in,v 1.11 1999/09/18 00:20:56 stanton Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.12 1999/11/18 02:18:35 wart Exp $ TCLVERSION = @TCL_VERSION@ VERSION = @TK_VERSION@ @@ -172,6 +172,8 @@ DOTVER = @TK_MAJOR_VERSION@.@TK_MINOR_VERSION@ LIBS = @LIBS@ gdi32.lib comdlg32.lib RMDIR = rm -rf MKDIR = mkdir -p +SHELL = @SHELL@ +mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs RM = rm -f COPY = cp CC_OBJNAME = @CC_OBJNAME@ @@ -357,14 +359,13 @@ runtest: tktest install: all install-binaries install-libraries install-doc install-demos -install-binaries: - @echo "Install Directories:" +install-binaries: installdirs @for i in $(LIB_INSTALL_DIR) $(BIN_INSTALL_DIR) ; \ do \ echo " $$i"; \ if [ ! -d $$i ] ; then \ echo "Making directory $$i"; \ - mkdir $$i; \ + $(mkinstalldirs) $$i; \ chmod 755 $$i; \ else true; \ fi; \ @@ -396,7 +397,7 @@ install-libraries: echo " $$i"; \ if [ ! -d $$i ] ; then \ echo "Making directory $$i"; \ - mkdir $$i; \ + $(mkinstalldirs) $$i; \ chmod 755 $$i; \ else true; \ fi; \ @@ -429,7 +430,7 @@ install-demos: echo " $$i"; \ if [ ! -d $$i ] ; then \ echo "Making directory $$i"; \ - mkdir $$i; \ + $(mkinstalldirs) $$i; \ chmod 755 $$i; \ else true; \ fi; \ -- cgit v0.12