1 ####### kdevelop will overwrite this part!!! (begin)##########
2 bin_PROGRAMS = klettres
4 ## INCLUDES were found outside kdevelop specific part
6 klettres_SOURCES = fontsdlg.ui klettres.cpp klnewstuff.cpp main.cpp klettresview.cpp soundfactory.cpp prefs.kcfgc timerdlg.ui
7 klettres_LDADD = $(LIB_KDEUI) -lknewstuff
9 SUBDIRS = pics data icons
11 xdg_apps_DATA = klettres.desktop
12 kde_kcfg_DATA = klettres.kcfg
13 kde_conf_DATA = klettresrc
15 appdir = $(kde_datadir)/klettres
16 app_DATA = klettresui.rc
18 ####### kdevelop will overwrite this part!!! (end)############
19 # set the include path for X, qt and KDE
20 INCLUDES= $(all_includes)
26 # the library search path.
27 klettres_LDFLAGS = $(all_libraries) $(KDE_RPATH)
30 $(XGETTEXT) *.cpp -o $(podir)/klettres.pot;
35 xmlen_DATA = en/sounds.xml
36 xmlendir = $(kde_datadir)/klettres/en
38 xmlfr_DATA = fr/sounds.xml
39 xmlfrdir = $(kde_datadir)/klettres/fr
42 @for lang in $(LANGS); do \
43 for sub in $(SUBS); do \
44 $(mkinstalldirs) $(DESTDIR)$(kde_datadir)/klettres/$$lang/$$sub ;\
45 list=`cd $(srcdir)/$$lang/$$sub && ls -1d *` ;\
46 for file in $$list; do \
47 if test -f $(srcdir)/$$lang/$$sub/$$file; then \
48 echo $(INSTALL_DATA) $(srcdir)/$$lang/$$sub/$$file $(DESTDIR)$(kde_datadir)/klettres/$$lang/$$sub/$$file ;\
49 $(INSTALL_DATA) $(srcdir)/$$lang/$$sub/$$file $(DESTDIR)$(kde_datadir)/klettres/$$lang/$$sub/$$file ;\
56 for lang in $(LANGS); do \
57 rm -rf $(DESTDIR)$(kde_datadir)/klettres/$$lang ;\