- from PLD
[packages/jack-audio-connection-kit.git] / jack-doxygen-output-dirs.patch
1 diff -rupN jack-1.9.7.old/doxyfile jack-1.9.7/doxyfile
2 --- jack-1.9.7.old/doxyfile     2011-03-30 11:03:54.000000000 -0400
3 +++ jack-1.9.7/doxyfile 2011-04-03 08:54:03.000000000 -0400
4 @@ -38,7 +38,7 @@ PROJECT_NUMBER         = 1.9.7
5  # If a relative path is entered, it will be relative to the location
6  # where doxygen was started. If left blank the current directory will be used.
7  
8 -OUTPUT_DIRECTORY       = 
9 +OUTPUT_DIRECTORY       = build/default/
10  
11  # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
12  # 4096 sub-directories (in 2 levels) under the output directory of each output
13 --- jack-1.9.10/wscript.orig    2014-07-20 20:36:20.147537528 +0200
14 +++ jack-1.9.10/wscript 2014-07-20 20:47:11.270843536 +0200
15 @@ -436,7 +436,10 @@
16          html_docs_source_dir = "build/default/html"
17          if bld.cmd == 'install':
18              share_dir = bld.options.destdir + bld.env['PREFIX'] + '/share/jack-audio-connection-kit'
19 -            html_docs_install_dir = share_dir + '/reference/html/'
20 +            if os.environ.get('HTML_DIR', ''):
21 +                html_docs_install_dir = bld.options.destdir + os.environ.get('HTML_DIR', '')
22 +            else:
23 +                html_docs_install_dir = share_dir + '/reference/html/'
24              if os.path.isdir(html_docs_install_dir):
25                  Logs.pprint('CYAN', "Removing old doxygen documentation installation...")
26                  shutil.rmtree(html_docs_install_dir)