diff options
author | Daniel Molkentin <daniel.molkentin@nokia.com> | 2012-01-30 14:12:07 +0100 |
---|---|---|
committer | Daniel Molkentin <daniel.molkentin@nokia.com> | 2012-01-30 15:15:43 +0100 |
commit | 3fe2113a2bdef34ab5fbfac1ee0d4772ab634555 (patch) | |
tree | 11fa3bd271a8f157fbc5d671f3cc4de98d5abcf8 | |
parent | b7c322c84be474b88c40e67f93abda4a3ebcc3f3 (diff) | |
download | qt-creator-3fe2113a2bdef34ab5fbfac1ee0d4772ab634555.tar.gz |
Fixes for bindist target.
Change-Id: Iab025ed796e807aab0315a583a04ed8865fc0d44
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
-rw-r--r-- | qtcreator.pro | 4 | ||||
-rwxr-xr-x | scripts/bindistHelper.py | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/qtcreator.pro b/qtcreator.pro index f79577eb60..84e287a27d 100644 --- a/qtcreator.pro +++ b/qtcreator.pro @@ -20,14 +20,13 @@ OTHER_FILES += dist/copyright_template.txt \ macx { APPBUNDLE = "$$OUT_PWD/bin/Qt Creator.app" deployqt.commands = $$PWD/scripts/deployqtHelper_mac.sh \"$${APPBUNDLE}\" - bindist.commands = 7z a -mx9 $$OUT_PWD/qtcreator-mac$(INSTALL_EDITION)-$${QTCREATOR_VERSION}$(INSTALL_POSTFIX).7z \"$$OUT_PWD/bin/Qt Creator.app/\" + bindist.commands = 7z a -mx9 $$OUT_PWD/qt-creator-mac$(INSTALL_EDITION)-$${QTCREATOR_VERSION}$(INSTALL_POSTFIX).7z \"$$OUT_PWD/bin/Qt Creator.app/\" dmg.commands = $$PWD/scripts/makedmg.sh $$OUT_PWD/bin qt-creator-mac$(INSTALL_EDITION)-$${QTCREATOR_VERSION}$(INSTALL_POSTFIX).dmg dmg.depends = deployqt QMAKE_EXTRA_TARGETS += dmg } else { deployqt.commands = $$PWD/scripts/deployqt.py -i $(INSTALL_ROOT) deployqt.depends = install - bindist.commands = $$PWD/scripts/bindist_helper.py $(INSTALL_ROOT) $${PLATFORM}$(INSTALL_EDITION)-$${QTCREATOR_VERSION}$(INSTALL_POSTFIX) win32 { bindist.commands ~= s,/,\\\\,g deployqt.commands ~= s,/,\\\\,g @@ -38,6 +37,7 @@ macx { } else:linux-*:PLATFORM="linux-$${QT_ARCH}" else:PLATFORM="unknown" + bindist.commands = $$PWD/scripts/bindistHelper.py "$(INSTALL_ROOT)" "$${PLATFORM}$(INSTALL_EDITION)-$${QTCREATOR_VERSION}$(INSTALL_POSTFIX)" } bindist.depends = deployqt QMAKE_EXTRA_TARGETS += deployqt bindist diff --git a/scripts/bindistHelper.py b/scripts/bindistHelper.py index f9050c1108..f420be95f1 100755 --- a/scripts/bindistHelper.py +++ b/scripts/bindistHelper.py @@ -42,7 +42,6 @@ def main(): try: opts, args = getopt.gnu_getopt(sys.argv[1:], 'h', ['help']) except: - print str(err) usage() sys.exit(2) for o, a in opts: |