#! /usr/bin/env python
## This script demonstrates how to build and install
## a complex kde program having a kparts shell
## with scons
##
## Thomas Nagy, 2004, 2005
## This file can be reused freely for any project (see COPYING)

Import( 'env' )

env.subdirs("pics")

#############################
## the kate plugin to build

obj=env.kobject('shlib')
obj.target='kcm_autostart'
obj.source='autostart.cpp autostartlistviewitem.cpp autostartwidget.cpp autostartwidgetbase.ui autostartdesktopappdialog.ui appinfo.cpp'
obj.libs='qt-mt kio kdecore'
obj.execute()

#############################
## Data files to install

## the library is installed automatically by KDEshlib

## this desktop file goes in KDEMENU
env.KDEinstall( 'KDEMENU', '', 'autostart.desktop' )

