~midori/midori/cmake-make-dist

« back to all changes in this revision

Viewing changes to wscript

  • Committer: Christian Dywan
  • Date: 2008-06-01 21:47:27 UTC
  • Revision ID: git-v1:b511f12b9b4b063610161f2229b94a24a86be0fc
Rename folder 'src' to 'midori'

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
    conf.check_tool ('compiler_cc')
24
24
    if not Params.g_options.disable_nls:
25
25
        conf.check_tool ('intltool')
26
 
        # FIXME if we have intltool but not msgfmt the build breaks
27
 
        if conf.env['INTLTOOL']:
 
26
        if conf.env['INTLTOOL'] and conf.env['POCOM']:
28
27
            nls = 'yes'
29
28
            conf.define ('ENABLE_NLS', 1)
30
29
            conf.define ('MIDORI_LOCALEDIR', 'LOCALEDIR', 0)
69
68
        help='Disables native language support', dest='disable_nls')
70
69
 
71
70
def build (bld):
72
 
    bld.add_subdirs ('katze src data')
 
71
    bld.add_subdirs ('katze midori data')
73
72
 
74
73
    if bld.env ()['INTLTOOL']:
75
74
        bld.add_subdirs ('po')