From: Christian Dywan Date: Sat, 6 Jun 2009 19:41:26 +0000 (+0200) Subject: Move DOCDIR below definition of MDATADIR X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71a4daa605dab4fa7dd5c6292f562becd8c4c2c9;p=midori Move DOCDIR below definition of MDATADIR --- diff --git a/wscript b/wscript index 5febb4b9..391c2082 100644 --- a/wscript +++ b/wscript @@ -110,7 +110,6 @@ def configure (conf): Utils.pprint ('BLUE', 'Mingw recognized, assuming chross compile.') - dirname_default ('DOCDIR', os.path.join (conf.env['DATADIR'], 'doc')) dirname_default ('LIBDIR', os.path.join (conf.env['PREFIX'], 'lib')) if conf.env['PREFIX'] == '/usr': dirname_default ('SYSCONFDIR', '/etc') @@ -120,6 +119,7 @@ def configure (conf): # Use MDATADIR because DATADIR is a constant in objidl.h on Windows 'MDATADIR') conf.undefine ('DATADIR') + dirname_default ('DOCDIR', os.path.join (conf.env['MDATADIR'], 'doc')) if option_enabled ('apidocs'): conf.find_program ('gtkdoc-scan', var='GTKDOC_SCAN')