Accomodate docs for build dir renaming
This commit is contained in:
parent
2377ee3c94
commit
a01c0fd224
5 changed files with 20 additions and 18 deletions
14
INSTALL
14
INSTALL
|
@ -37,7 +37,7 @@ Midori is now built with debugging symbols.
|
||||||
|
|
||||||
Make sure you have installed 'gdb', the GNU Debugger.
|
Make sure you have installed 'gdb', the GNU Debugger.
|
||||||
|
|
||||||
Run Midori as 'gdb _build_/default/midori/midori'.
|
Run Midori as 'gdb _build/default/midori/midori'.
|
||||||
|
|
||||||
Inside gdb, type 'run'.
|
Inside gdb, type 'run'.
|
||||||
|
|
||||||
|
@ -49,29 +49,29 @@ function names and line numbers.
|
||||||
|
|
||||||
If the problem is a warning and not a crash, try this:
|
If the problem is a warning and not a crash, try this:
|
||||||
|
|
||||||
'G_DEBUG=all gdb _build_/default/midori/midori'
|
'G_DEBUG=all gdb _build/default/midori/midori'
|
||||||
|
|
||||||
If you are interested in HTTP communication, try this:
|
If you are interested in HTTP communication, try this:
|
||||||
|
|
||||||
'MIDORI_SOUP_DEBUG=2 _build_/default/midori/midori'
|
'MIDORI_SOUP_DEBUG=2 _build/default/midori/midori'
|
||||||
|
|
||||||
Where '2' can be a level between 0 and 3.
|
Where '2' can be a level between 0 and 3.
|
||||||
|
|
||||||
If you are interested in (non-) touchscreen behaviour, try this:
|
If you are interested in (non-) touchscreen behaviour, try this:
|
||||||
|
|
||||||
'MIDORI_TOUCHSCREEN=1 _build_/default/midori/midori', or
|
'MIDORI_TOUCHSCREEN=1 _build/default/midori/midori', or
|
||||||
|
|
||||||
'MIDORI_TOUCHSCREEN=0 _build_/default/midori/midori'
|
'MIDORI_TOUCHSCREEN=0 _build/default/midori/midori'
|
||||||
|
|
||||||
If you want to "dry run" without WebKitGTK+ rendering, try this:
|
If you want to "dry run" without WebKitGTK+ rendering, try this:
|
||||||
|
|
||||||
'MIDORI_UNARMED=1 _build_/default/midori/midori'
|
'MIDORI_UNARMED=1 _build/default/midori/midori'
|
||||||
|
|
||||||
To disable Netscape plugins, use MOZ_PLUGIN_PATH=/.
|
To disable Netscape plugins, use MOZ_PLUGIN_PATH=/.
|
||||||
|
|
||||||
To debug extensions you can specify the path:
|
To debug extensions you can specify the path:
|
||||||
|
|
||||||
'export MIDORI_EXTENSION_PATH=_build_/default/extensions'
|
'export MIDORI_EXTENSION_PATH=_build/default/extensions'
|
||||||
|
|
||||||
For further information a tutorial for gdb and
|
For further information a tutorial for gdb and
|
||||||
reading up on how you can install debugging
|
reading up on how you can install debugging
|
||||||
|
|
2
configure
vendored
2
configure
vendored
|
@ -130,7 +130,7 @@ clean:
|
||||||
|
|
||||||
distclean:
|
distclean:
|
||||||
@$WAF distclean
|
@$WAF distclean
|
||||||
@-rm -rf _build_
|
@-rm -rf _build
|
||||||
@-rm -f Makefile
|
@-rm -f Makefile
|
||||||
|
|
||||||
check:
|
check:
|
||||||
|
|
|
@ -6,18 +6,20 @@ import pproc as subprocess
|
||||||
import os
|
import os
|
||||||
import Utils
|
import Utils
|
||||||
|
|
||||||
|
blddir = '_build' # recognized by ack
|
||||||
|
|
||||||
for module in ('midori', 'katze'):
|
for module in ('midori', 'katze'):
|
||||||
try:
|
try:
|
||||||
if not os.access ('_build_', os.F_OK):
|
if not os.access (blddir, os.F_OK):
|
||||||
Utils.check_dir ('_build_')
|
Utils.check_dir (blddir)
|
||||||
if not os.access ('_build_/docs', os.F_OK):
|
if not os.access (blddir + '/docs', os.F_OK):
|
||||||
Utils.check_dir ('_build_/docs')
|
Utils.check_dir (blddir + '/docs')
|
||||||
if not os.access ('_build_/docs/api', os.F_OK):
|
if not os.access (blddir + '/docs/api', os.F_OK):
|
||||||
Utils.check_dir ('_build_/docs/api')
|
Utils.check_dir (blddir + '/docs/api')
|
||||||
subprocess.call (['gtkdoc-scan', '--module=' + module,
|
subprocess.call (['gtkdoc-scan', '--module=' + module,
|
||||||
'--source-dir=' + module, '--output-dir=_build_/docs/api/' + module,
|
'--source-dir=' + module, '--output-dir=' + blddir + '/docs/api/' + module,
|
||||||
'--rebuild-sections', '--rebuild-types'])
|
'--rebuild-sections', '--rebuild-types'])
|
||||||
os.chdir ('_build_/docs/api/' + module)
|
os.chdir (blddir + '/docs/api/' + module)
|
||||||
subprocess.call (['gtkdoc-mktmpl', '--module=' + module,
|
subprocess.call (['gtkdoc-mktmpl', '--module=' + module,
|
||||||
'--output-dir=.' + module])
|
'--output-dir=.' + module])
|
||||||
subprocess.call (['gtkdoc-mkdb', '--module=' + module,
|
subprocess.call (['gtkdoc-mkdb', '--module=' + module,
|
||||||
|
|
|
@ -31,7 +31,7 @@ for test in tests:
|
||||||
obj = bld.new_task_gen ('cc', 'program')
|
obj = bld.new_task_gen ('cc', 'program')
|
||||||
obj.target = 'test-' + target
|
obj.target = 'test-' + target
|
||||||
obj.includes = '.. ../midori ../panels'
|
obj.includes = '.. ../midori ../panels'
|
||||||
obj.cflags = ['-DEXTENSION_PATH="' + os.path.abspath ('_build_/default/extensions') + '"']
|
obj.cflags = ['-DEXTENSION_PATH="' + os.path.abspath ('_build/default/extensions') + '"']
|
||||||
obj.source = source
|
obj.source = source
|
||||||
obj.vapi_dirs = '../midori'
|
obj.vapi_dirs = '../midori'
|
||||||
obj.packages = 'glib-2.0 gio-2.0 gtk+-2.0 libsoup-2.4 webkit-1.0 midori'
|
obj.packages = 'glib-2.0 gio-2.0 gtk+-2.0 libsoup-2.4 webkit-1.0 midori'
|
||||||
|
|
|
@ -19,7 +19,7 @@ LOG=~/.midori.out
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
|
|
||||||
BIN=_build_/default/midori/midori
|
BIN=_build/default/midori/midori
|
||||||
BASENAME=`basename $0`
|
BASENAME=`basename $0`
|
||||||
|
|
||||||
ulimit -c unlimited
|
ulimit -c unlimited
|
||||||
|
|
Loading…
Reference in a new issue