blob: a42dcde26848af0f90daef655a9e831b4f12c7ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
####### tdevelop will overwrite this part!!! (begin)##########
bin_PROGRAMS = klettres
## INCLUDES were found outside tdevelop 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_TDEUI) -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
####### tdevelop 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) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
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
|