summaryrefslogtreecommitdiff
path: root/cpp/makedist.py
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2004-03-03 01:17:34 +0000
committerMark Spruiell <mes@zeroc.com>2004-03-03 01:17:34 +0000
commitdda2f0b6a431bab0d384918481103dd5bc7bc3b1 (patch)
treef73ecab621c360df44e9af2872e8d5ca4118ff7d /cpp/makedist.py
parentFixed incorrect comment. (diff)
downloadice-dda2f0b6a431bab0d384918481103dd5bc7bc3b1.tar.bz2
ice-dda2f0b6a431bab0d384918481103dd5bc7bc3b1.tar.xz
ice-dda2f0b6a431bab0d384918481103dd5bc7bc3b1.zip
more tweaks
Diffstat (limited to 'cpp/makedist.py')
-rwxr-xr-xcpp/makedist.py14
1 files changed, 11 insertions, 3 deletions
diff --git a/cpp/makedist.py b/cpp/makedist.py
index 2ef003c83be..46ff5e4f457 100755
--- a/cpp/makedist.py
+++ b/cpp/makedist.py
@@ -251,10 +251,14 @@ for x in grammars:
#
# Run gmake to create the output files.
#
+ if verbose:
+ quiet = ""
+ else:
+ quiet = "-s"
if file == "cexp.y":
- os.system("gmake cexp.c")
+ os.system("gmake " + quiet + " cexp.c")
else:
- os.system("gmake " + base + ".cpp")
+ os.system("gmake " + quiet + " " + base + ".cpp")
#
# Edit the Makefile to comment out the grammar rules.
#
@@ -281,7 +285,11 @@ for x in scanners:
#
# Run gmake to create the output files.
#
- os.system("gmake " + base + ".cpp")
+ if verbose:
+ quiet = ""
+ else:
+ quiet = "-s"
+ os.system("gmake " + quiet + " " + base + ".cpp")
#
# Edit the Makefile to comment out the flex rules.
#