diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2007-02-07 16:55:21 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2007-02-07 16:55:21 +0000 |
commit | 89860f9430e3f9756bcd7eb5758cc7839656a80f (patch) | |
tree | 1e210f9d4e7bdb5b60bac1411a57ae38819c80cc /cpp/makebindist.py | |
parent | IceCS fixes (diff) | |
download | ice-89860f9430e3f9756bcd7eb5758cc7839656a80f.tar.bz2 ice-89860f9430e3f9756bcd7eb5758cc7839656a80f.tar.xz ice-89860f9430e3f9756bcd7eb5758cc7839656a80f.zip |
Do not attempt to create dmeo tarball on hpux/sun
Diffstat (limited to 'cpp/makebindist.py')
-rwxr-xr-x | cpp/makebindist.py | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/cpp/makebindist.py b/cpp/makebindist.py index 689c0afcc8e..c1c0938b9e1 100755 --- a/cpp/makebindist.py +++ b/cpp/makebindist.py @@ -997,14 +997,15 @@ def main(): # # Package up demo distribution. # - toCollect = list(sourceTarBalls) - toCollect.append(('icevb', 'IceVB-' + version, 'vb')) - for cvs, tarball, demoDir in toCollect: - extractDemos(sources, buildDir, version, tarball, demoDir) - shutil.copy("%s/common/README.DEMOS" % installFiles, "%s/Ice-%s-demos/README.DEMOS" % (buildDir, version)) - archiveDemoTree(buildDir, version, installFiles) - shutil.move("%s/Ice-%s-demos.tar.gz" % (buildDir, version), "%s/Ice-%s-demos.tar.gz" % (installDir, version)) - shutil.move("%s/Ice-%s-demos.zip" % (buildDir, version), "%s/Ice-%s-demos.zip" % (installDir, version)) + if getPlatform() != 'hpux' and getPlatform() != 'sun': + toCollect = list(sourceTarBalls) + toCollect.append(('icevb', 'IceVB-' + version, 'vb')) + for cvs, tarball, demoDir in toCollect: + extractDemos(sources, buildDir, version, tarball, demoDir) + shutil.copy("%s/common/README.DEMOS" % installFiles, "%s/Ice-%s-demos/README.DEMOS" % (buildDir, version)) + archiveDemoTree(buildDir, version, installFiles) + shutil.move("%s/Ice-%s-demos.tar.gz" % (buildDir, version), "%s/Ice-%s-demos.tar.gz" % (installDir, version)) + shutil.move("%s/Ice-%s-demos.zip" % (buildDir, version), "%s/Ice-%s-demos.zip" % (installDir, version)) # # Everything should be set for building stuff up now. @@ -1101,8 +1102,8 @@ def main(): # # Remove build files from binary distribution. # - runprog("rm Ice-%s/config/build.properties" % (version)) - runprog("rm Ice-%s/config/Make.rules*" % (version)) + runprog("rm -f Ice-%s/config/build.properties" % (version)) + runprog("rm -f Ice-%s/config/Make.rules*" % (version)) runprog('tar cf Ice-' + version + '-bin-' + getPlatform() + '.tar Ice-' + version) runprog('gzip -9 Ice-' + version + '-bin-' + getPlatform() + '.tar') |