From: Christian Dywan Date: Fri, 2 Oct 2009 21:13:47 +0000 (+0200) Subject: Provide default adblock config with easylist X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec810682999df35032d665b8010f846d841d8c6f;p=midori Provide default adblock config with easylist --- diff --git a/data/extensions/adblock/config b/data/extensions/adblock/config new file mode 100644 index 00000000..8b1daa55 --- /dev/null +++ b/data/extensions/adblock/config @@ -0,0 +1,2 @@ +[settings] +filters=http://adblockplus.mozdev.org/easylist/easylist.txt diff --git a/wscript b/wscript index de8d8137..8c0df740 100644 --- a/wscript +++ b/wscript @@ -454,6 +454,16 @@ def build (bld): bld.install_files ('${MDATADIR}/' + APPNAME + '/res', 'data/speeddial.json') bld.install_files ('${MDATADIR}/' + APPNAME + '/res', 'data/mootools.js') + # FIXME: Determine the library naming for other platforms + if Options.platform == 'linux': + extensions = os.listdir ('data/extensions') + for extension in extensions: + folder = 'lib' + extension + '.so' + source = 'data/extensions/' + extension + '/config' + if os.path.exists (source): + bld.install_files ('${SYSCONFDIR}/' + APPNAME + \ + '/extensions/' + folder, source) + if Options.commands['check']: bld.add_subdirs ('tests')