# This file is licensed under the terms of the expat license, see the file EXPAT.
import pproc as subprocess
+import os
for module in ('midori', 'katze'):
try:
# WAF build script for midori
# This file is licensed under the terms of the expat license, see the file EXPAT.
+import os
+
extensions = os.listdir ('extensions')
for extension in extensions:
# Tab Panel isn't useful at this point
# WAF build script for midori
# This file is licensed under the terms of the expat license, see the file EXPAT.
+import os
+
tests = os.listdir ('tests')
for test in tests:
folder = 'tests' + os.sep + test
bld.install_files ('${DOCDIR}/midori/api/', blddir + '/docs/api/*')
if bld.env['HAVE_HILDON']:
- appdir = '${DATADIR}/applications/hildon'
- bld.install_files ('${DATADIR}/dbus-1/services',
+ appdir = '${MDATADIR}/applications/hildon'
+ bld.install_files ('${MDATADIR}/dbus-1/services',
'data/com.nokia.' + APPNAME + '.service')
else:
appdir = '${MDATADIR}/applications'
obj.flags = '-d'
bld.install_files (appdir, 'data/' + APPNAME + '.desktop')
else:
- folder = os.path.dirname (bld.env['waf_config_files'][0]) + '/data'
+ folder = os.path.abspath (blddir + '/default/data')
Utils.check_dir (folder)
desktop = APPNAME + '.desktop'
pre = open ('data/' + desktop + '.in')
Utils.pprint ('RED', "Make sure intltool is installed.")
os.chdir ('..')
elif Options.options.run:
- folder = os.path.dirname (Build.bld.env['waf_config_files'][0])
+ folder = os.path.abspath (blddir + '/default')
try:
relfolder = folder
if not is_mingw (Build.bld.env):