diff options
author | Mark Spruiell <mes@zeroc.com> | 2004-03-03 01:17:34 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2004-03-03 01:17:34 +0000 |
commit | dda2f0b6a431bab0d384918481103dd5bc7bc3b1 (patch) | |
tree | f73ecab621c360df44e9af2872e8d5ca4118ff7d /cpp/makedist.py | |
parent | Fixed incorrect comment. (diff) | |
download | ice-dda2f0b6a431bab0d384918481103dd5bc7bc3b1.tar.bz2 ice-dda2f0b6a431bab0d384918481103dd5bc7bc3b1.tar.xz ice-dda2f0b6a431bab0d384918481103dd5bc7bc3b1.zip |
more tweaks
Diffstat (limited to 'cpp/makedist.py')
-rwxr-xr-x | cpp/makedist.py | 14 |
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. # |