You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.6 KiB
60 lines
1.6 KiB
15 years ago
|
####### 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
|
||
|
|