Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
jack
jack-wafdocbuild.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jack-wafdocbuild.patch of Package jack
Index: wscript =================================================================== --- wscript.orig 2012-12-10 11:26:57.000000000 +0200 +++ wscript 2013-02-06 16:49:20.122391251 +0200 @@ -356,28 +356,28 @@ def build(bld): bld.add_subdirs('dbus') if bld.env['BUILD_DOXYGEN_DOCS'] == True: - share_dir = bld.env.get_destdir() + bld.env['PREFIX'] + '/share/jack-audio-connection-kit' html_docs_source_dir = "build/default/html" - html_docs_install_dir = share_dir + '/reference/html/' - if Options.commands['install']: - if os.path.isdir(html_docs_install_dir): + if bld.cmd == 'install': + share_dir = bld.options.destdir + bld.env['PREFIX'] + '/share/jack-audio-connection-kit' + html_docs_install_dir = share_dir + '/reference/html/' + if os.path.isdir(html_docs_install_dir): Logs.pprint('CYAN', "Removing old doxygen documentation installation...") shutil.rmtree(html_docs_install_dir) Logs.pprint('CYAN', "Removing old doxygen documentation installation done.") Logs.pprint('CYAN', "Installing doxygen documentation...") shutil.copytree(html_docs_source_dir, html_docs_install_dir) Logs.pprint('CYAN', "Installing doxygen documentation done.") - elif Options.commands['uninstall']: + elif bld.cmd =='uninstall': Logs.pprint('CYAN', "Uninstalling doxygen documentation...") if os.path.isdir(share_dir): shutil.rmtree(share_dir) Logs.pprint('CYAN', "Uninstalling doxygen documentation done.") - elif Options.commands['clean']: + elif bld.cmd =='clean': if os.access(html_docs_source_dir, os.R_OK): Logs.pprint('CYAN', "Removing doxygen generated documentation...") shutil.rmtree(html_docs_source_dir) Logs.pprint('CYAN', "Removing doxygen generated documentation done.") - elif Options.commands['build']: + elif bld.cmd =='build': if not os.access(html_docs_source_dir, os.R_OK): os.popen("doxygen").read() else:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor