summaryrefslogtreecommitdiff
path: root/distribution/bin/makebindist.py
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2014-10-31 22:20:36 +0100
committerJose <jose@zeroc.com>2014-10-31 22:20:36 +0100
commit75a9005812b4db96540bc5f470286a2993e7cfba (patch)
tree3ff4f2e0e3c39282bbca437ba37f398cf3d674b1 /distribution/bin/makebindist.py
parentAdded removal of InitializationData's stringConverter and wstringConverter (diff)
downloadice-75a9005812b4db96540bc5f470286a2993e7cfba.tar.bz2
ice-75a9005812b4db96540bc5f470286a2993e7cfba.tar.xz
ice-75a9005812b4db96540bc5f470286a2993e7cfba.zip
makebindist fixes
Diffstat (limited to 'distribution/bin/makebindist.py')
-rwxr-xr-xdistribution/bin/makebindist.py49
1 files changed, 11 insertions, 38 deletions
diff --git a/distribution/bin/makebindist.py b/distribution/bin/makebindist.py
index faf2ab08513..f908b4cbd73 100755
--- a/distribution/bin/makebindist.py
+++ b/distribution/bin/makebindist.py
@@ -22,10 +22,7 @@ sys.path.append(os.path.join(distDir, "lib"))
import DistUtils
from DistUtils import copy
-#
-# There isn't gmake in Ubuntu
-#
-make = "make" if sys.platform.startswith("linux") else "gmake"
+make = "make"
#
# Defines which languages are to also be built in 64bits mode
@@ -59,9 +56,6 @@ thirdParties = [
"OpenSSL", \
"Mcpp", \
"Iconv", \
- "JGoodiesCommon", \
- "JGoodiesLooks", \
- "JGoodiesForms", \
"Proguard", \
"JavaApplicationBundler"
]
@@ -194,41 +188,20 @@ for l in buildLanguages:
else:
os.chdir(os.path.join(srcDir, l))
- if l != "java":
-
- makeOptions = platform.getMakeOptions() + " " + platform.getMakeEnvs(version, l) + " prefix=" + buildDir
-
- if l != "py":
- buildCmd = make + " -C src " + makeOptions
- else:
- buildCmd = make + " -C modules " + makeOptions
- installCmd = make + " " + makeOptions + " install"
-
- print "Building with " + buildCmd
-
- if os.system(buildCmd) != 0:
- print sys.argv[0] + ": `" + l + "' build failed"
- os.chdir(cwd)
- sys.exit(1)
-
- print "Installing with " + installCmd
-
- if os.system(installCmd) != 0:
- print sys.argv[0] + ": `" + l + "' build-install failed"
- os.chdir(cwd)
- sys.exit(1)
-
+ makeOptions = platform.getMakeOptions() + " " + platform.getMakeEnvs(version, l) + " prefix=" + buildDir
+ if l == "java":
+ buildCmd = platform.getJavaEnv() + " " + make + " " + " prefix=" + buildDir + " APPEND_VERSION_SUFFIX=yes install"
else:
- antCmd = platform.getAntEnv() + " ant " + platform.getAntOptions() + " -Dprefix=" + buildDir
+ buildCmd = make + " " + makeOptions + " install"
+
+ print "Building with " + buildCmd
- jgoodiesDefines = "-Djgoodies.forms=" + platform.getJGoodiesForms() + " -Djgoodies.looks=" + \
- platform.getJGoodiesLooks() + " -Djgoodies.common=" + platform.getJGoodiesCommon()
+ if os.system(buildCmd) != 0:
+ print sys.argv[0] + ": `" + l + "' build failed"
+ os.chdir(cwd)
+ sys.exit(1)
- if os.system(antCmd + " " + jgoodiesDefines + " install") != 0:
- print sys.argv[0] + ": `" + l + "' build failed"
- os.chdir(cwd)
- sys.exit(1)
os.chdir(os.path.join(cwd))
print