packages: jack-audio-connection-kit/jack-doxygen-output-dirs.patch (NEW) - ...
baggins
baggins at pld-linux.org
Mon Apr 18 01:59:03 CEST 2011
Author: baggins Date: Sun Apr 17 23:59:03 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- fix doxygen doc build
- allow setting install dir from environment
---- Files affected:
packages/jack-audio-connection-kit:
jack-doxygen-output-dirs.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/jack-audio-connection-kit/jack-doxygen-output-dirs.patch
diff -u /dev/null packages/jack-audio-connection-kit/jack-doxygen-output-dirs.patch:1.1
--- /dev/null Mon Apr 18 01:59:03 2011
+++ packages/jack-audio-connection-kit/jack-doxygen-output-dirs.patch Mon Apr 18 01:58:58 2011
@@ -0,0 +1,29 @@
+diff -rupN jack-1.9.7.old/doxyfile jack-1.9.7/doxyfile
+--- jack-1.9.7.old/doxyfile 2011-03-30 11:03:54.000000000 -0400
++++ jack-1.9.7/doxyfile 2011-04-03 08:54:03.000000000 -0400
+@@ -38,7 +38,7 @@ PROJECT_NUMBER = 1.9.7
+ # If a relative path is entered, it will be relative to the location
+ # where doxygen was started. If left blank the current directory will be used.
+
+-OUTPUT_DIRECTORY =
++OUTPUT_DIRECTORY = build/default/
+
+ # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create
+ # 4096 sub-directories (in 2 levels) under the output directory of each output
+--- jack-1.9.7/wscript~ 2011-03-30 17:03:54.000000000 +0200
++++ jack-1.9.7/wscript 2011-04-17 20:08:11.884392560 +0200
+@@ -315,9 +315,12 @@
+ 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 os.environ.get('HTML_DIR', ''):
++ html_docs_install_dir = bld.env.get_destdir() + os.environ.get('HTML_DIR', '')
++ else:
++ share_dir = bld.env.get_destdir() + bld.env['PREFIX'] + '/share/jack-audio-connection-kit'
++ html_docs_install_dir = share_dir + '/reference/html/'
+ if Options.commands['install']:
+ if os.path.isdir(html_docs_install_dir):
+ Utils.pprint('CYAN', "Removing old doxygen documentation installation...")
================================================================
More information about the pld-cvs-commit
mailing list