summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorwart <wart>1999-11-18 02:18:35 (GMT)
committerwart <wart>1999-11-18 02:18:35 (GMT)
commit5beebee053db6f96bc2d8a15a80ec73fc7aef8b5 (patch)
treebf6c50f4b912e02e89549320345fb9f86e331e0d /win
parent3c77fa79961cdc2712370cacb934e62364ed4a47 (diff)
downloadtk-5beebee053db6f96bc2d8a15a80ec73fc7aef8b5.zip
tk-5beebee053db6f96bc2d8a15a80ec73fc7aef8b5.tar.gz
tk-5beebee053db6f96bc2d8a15a80ec73fc7aef8b5.tar.bz2
Use mkdir -p to create the install directories (like Tcl already does)
Diffstat (limited to 'win')
-rw-r--r--win/Makefile.in13
1 files 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; \