summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorHenry Stiles <henry.stiles@artifex.com>2011-05-19 14:55:52 -0600
committerHenry Stiles <henry.stiles@artifex.com>2011-05-19 14:55:52 -0600
commit9de72911de76b582f028c70564b1539f913b517c (patch)
tree33af72424db0978f0a6f70a2ab3850f774726e19 /common
parent413e6e5a1c7ccc3d86678a54e93130ca182f9e98 (diff)
Make directories silently.
The previous mkdir incantantation had unwanted warning messages if the directory already existed. Thanks to Norbert Janssen for the patch. CLUSTER_UNTESTED
Diffstat (limited to 'common')
-rw-r--r--common/msvc_top.mak8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/msvc_top.mak b/common/msvc_top.mak
index 44daca4f6..e3a77a62f 100644
--- a/common/msvc_top.mak
+++ b/common/msvc_top.mak
@@ -99,8 +99,8 @@ CFLAGS=$(CFLAGS) /DGX_COLOR_INDEX_TYPE="$(GX_COLOR_INDEX_TYPE)"
FORCE:
$(GENDIR)/ldgs.tr: FORCE
- -mkdir $(GLGENDIR)
- -mkdir $(GLOBJDIR)
+ -if not exist $(GLGENDIR) mkdir $(GLGENDIR)
+ -if not exist $(GLOBJDIR) mkdir $(GLOBJDIR)
$(MAKE) /F $(PSSRCDIR)\msvc32.mak MSVC_VERSION="$(MSVC_VERSION)" \
GLSRCDIR="$(GLSRCDIR)" DEBUG=$(DEBUG) NOPRIVATE=$(NOPRIVATE) \
DEBUGSYM=$(DEBUGSYM) TDEBUG=$(TDEBUG) \
@@ -146,8 +146,8 @@ FORCE:
# to avoid having to define everything in the top level makefiles (also of a hack)
$(GENDIR)/ldgs.tr: FORCE
-echo $(PSICFLAGS)
- -mkdir $(GLGENDIR)
- -mkdir $(GLOBJDIR)
+ -if not exist $(GLGENDIR) mkdir $(GLGENDIR)
+ -if not exist $(GLOBJDIR) mkdir $(GLOBJDIR)
echo > $(GLOBJDIR)/gs_init.ps
$(MAKE) /F $(GLSRCDIR)\msvclib.mak MSVC_VERSION="$(MSVC_VERSION)" \
GLSRCDIR="$(GLSRCDIR)" DEBUG=$(DEBUG) NOPRIVATE=$(NOPRIVATE) \