diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | ce599e4f9f94b4eb00c1b5edb85bce5431ab3df2 (patch) | |
tree | d3bb9f5d25a2dc09ca81adecf39621d871534297 /klettres/klettres/Makefile.am | |
download | tdeedu-ce599e4f9f94b4eb00c1b5edb85bce5431ab3df2.tar.gz tdeedu-ce599e4f9f94b4eb00c1b5edb85bce5431ab3df2.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'klettres/klettres/Makefile.am')
-rw-r--r-- | klettres/klettres/Makefile.am | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/klettres/klettres/Makefile.am b/klettres/klettres/Makefile.am new file mode 100644 index 00000000..46b1c832 --- /dev/null +++ b/klettres/klettres/Makefile.am @@ -0,0 +1,59 @@ +####### kdevelop will overwrite this part!!! (begin)########## +bin_PROGRAMS = klettres + +## INCLUDES were found outside kdevelop specific part + +klettres_SOURCES = fontsdlg.ui klettres.cpp klnewstuff.cpp main.cpp klettresview.cpp soundfactory.cpp prefs.kcfgc timerdlg.ui timer.cpp +klettres_LDADD = $(LIB_KDEUI) -lknewstuff + +SUBDIRS = pics data icons + +xdg_apps_DATA = klettres.desktop +kde_kcfg_DATA = klettres.kcfg +kde_conf_DATA = klettresrc + +appdir = $(kde_datadir)/klettres +app_DATA = klettresui.rc + +####### kdevelop will overwrite this part!!! (end)############ +# set the include path for X, qt and KDE +INCLUDES= $(all_includes) + +METASOURCES = AUTO + +KDE_ICON = AUTO + +# the library search path. +klettres_LDFLAGS = $(all_libraries) $(KDE_RPATH) + +messages: rc.cpp + $(XGETTEXT) *.cpp -o $(podir)/klettres.pot; + +LANGS = fr en +SUBS = alpha syllab + +xmlen_DATA = en/sounds.xml +xmlendir = $(kde_datadir)/klettres/en + +xmlfr_DATA = fr/sounds.xml +xmlfrdir = $(kde_datadir)/klettres/fr + +install-data-local: + @for lang in $(LANGS); do \ + for sub in $(SUBS); do \ + $(mkinstalldirs) $(DESTDIR)$(kde_datadir)/klettres/$$lang/$$sub ;\ + list=`cd $(srcdir)/$$lang/$$sub && ls -1d *` ;\ + for file in $$list; do \ + if test -f $(srcdir)/$$lang/$$sub/$$file; then \ + echo $(INSTALL_DATA) $(srcdir)/$$lang/$$sub/$$file $(DESTDIR)$(kde_datadir)/klettres/$$lang/$$sub/$$file ;\ + $(INSTALL_DATA) $(srcdir)/$$lang/$$sub/$$file $(DESTDIR)$(kde_datadir)/klettres/$$lang/$$sub/$$file ;\ + fi ;\ + done ;\ + done ;\ + done + +uninstall-local: + for lang in $(LANGS); do \ + rm -rf $(DESTDIR)$(kde_datadir)/klettres/$$lang ;\ + done + |