File: wscript

package info (click to toggle)
libdesktop-agnostic 0.3.90-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 3,004 kB
  • ctags: 4,635
  • sloc: ansic: 30,148; python: 1,069; makefile: 24; xml: 12
file content (18 lines) | stat: -rw-r--r-- 696 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/python
# encoding: utf-8


def build(bld):
    if 'gconf' in bld.env['BACKENDS_CFG']:
        schema = bld.new_task_gen('cc', 'program')
        schema.source = 'lda-schema-to-gconf.vala'
        schema.uselib_local = 'desktop-agnostic-cfg'
        schema.vapi_dirs = '../libdesktop-agnostic'
        schema.target = 'lda-schema-to-gconf'
    launcher = bld.new_task_gen('cc', 'program')
    launcher.source = 'lda-desktop-entry-editor.vala'
    launcher.packages = 'desktop-agnostic-ui'
    launcher.packages_private = 'build'
    launcher.uselib_local = 'desktop-agnostic-ui'
    launcher.vapi_dirs = '../libdesktop-agnostic ../vapi'
    launcher.target = 'lda-desktop-entry-editor'