1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2025-03-10 05:34:36 +00:00

Fixed build script

This commit is contained in:
Virgil Dupras 2010-02-10 00:18:25 -08:00
parent 9eca84efe1
commit 86ecc8d4d5

View File

@ -18,7 +18,7 @@ import yaml
from hsdocgen import generate_help, filters from hsdocgen import generate_help, filters
from hsutil.build import add_to_pythonpath, print_and_do, build_all_qt_ui, copy_packages from hsutil.build import add_to_pythonpath, print_and_do, build_all_qt_ui, copy_packages
def build_cocoa(edition, dev): def build_cocoa(edition, dev, help_destpath):
if not dev: if not dev:
print "Building help index" print "Building help index"
os.system('open -a /Developer/Applications/Utilities/Help\\ Indexer.app {0}'.format(help_destpath)) os.system('open -a /Developer/Applications/Utilities/Help\\ Indexer.app {0}'.format(help_destpath))
@ -98,7 +98,7 @@ def main():
os.system('python gen.py') os.system('python gen.py')
os.chdir('..') os.chdir('..')
if ui == 'cocoa': if ui == 'cocoa':
build_cocoa(edition, dev) build_cocoa(edition, dev, help_destpath)
elif ui == 'qt': elif ui == 'qt':
build_qt(edition, dev) build_qt(edition, dev)