summaryrefslogtreecommitdiff
path: root/cpp/makebindist.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/makebindist.py')
-rwxr-xr-xcpp/makebindist.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/makebindist.py b/cpp/makebindist.py
index 67807ff5684..2f5bb1d47e1 100755
--- a/cpp/makebindist.py
+++ b/cpp/makebindist.py
@@ -1183,6 +1183,12 @@ def main():
runprog("rm -f Ice-%s/config/build.properties" % (version))
runprog("rm -f Ice-%s/config/Make.rules*" % (version))
+ #
+ # Remove html reference files from binary distribution.
+ #
+ runprog("rm -f Ice-%s/doc/index.html" % (version))
+ runprog("rm -rf Ice-%s/doc/reference" % (version))
+
runprog('tar cf Ice-' + version + '-bin-' + getPlatformString() + '.tar Ice-' + version)
runprog('gzip -9 Ice-' + version + '-bin-' + getPlatformString() + '.tar')
os.chdir(cwd)