dataFiles = app.kcfg app.kdevelop apptdemdi.cpp apptdemdi.h apptdemdiView.cpp \
apptdemdiView.h INSTALL tdemdikonsole.cpp tdemdikonsole.h main.cpp \
messages.sh prefs.ui QUICKSTART README SConscript-doc SConscript-src \
SConstruct settings.kcfgc tips VERSION \
app_part.cpp app_part.h app_part.rc app_shell.rc

templateName= kscons_tdemdi

### no need to change below:
template_DATA = $(templateName).kdevtemplate
templatedir = ${appwizarddatadir}/templates

appwizarddatadir = ${kde_datadir}/kdevappwizard
$(templateName).tar.gz: ${dataFiles} ${dataFiles}
	$(TAR) -cf $(templateName).tar -C $(srcdir) ${dataFiles}
	$(GZIP_COMMAND) -f9 $(templateName).tar

archivedir = ${appwizarddatadir}
archive_DATA = $(templateName).tar.gz ${templateName}.png

CLEANFILES = *.tar.gz
