summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorwart <wart@noemail.net>1999-11-18 02:18:35 (GMT)
committerwart <wart@noemail.net>1999-11-18 02:18:35 (GMT)
commit5a7fd9791160abf44abd63f3424d1f04828def84 (patch)
treebf6c50f4b912e02e89549320345fb9f86e331e0d /win
parent86080307df151ea24ce9b5696ffd2881ddbf7259 (diff)
downloadtk-5a7fd9791160abf44abd63f3424d1f04828def84.zip
tk-5a7fd9791160abf44abd63f3424d1f04828def84.tar.gz
tk-5a7fd9791160abf44abd63f3424d1f04828def84.tar.bz2
Use mkdir -p to create the install directories (like Tcl already does)
FossilOrigin-Name: 8cfa27a82e2ccb65fba46b85c97b5749d8b16c0e
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; \