moved kdeaccessibility kdeaddons kdeadmin kdeartwork kdebindings kdeedu kdegames...
[kdeedu.git] / kpercentage / kpercentage / Makefile.am
blobc617e129b009b852ac7d006bfe1625d57221cf47
1 bin_PROGRAMS = kpercentage
2 kpercentage_SOURCES =  kanimation.cpp kanswer.cpp kpercentmain.cpp  kpercentage.cpp ksplashscreen.cpp main.cpp
3 kpercentage_LDADD   =  $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_QT) $(LIBSOCKET)
5 SUBDIRS = icons pics
7 EXTRA_DIST = main.cpp kpercentage.cpp kpercentage.h kpercentmain.cpp kanswer.h kanswer.cpp right.txt wrong.txt kpercentage.desktop ksplashscreen.cpp ksplashscreen.h kanimation.cpp kanimation.h
9 text_DATA = right.txt wrong.txt
10 textdir = $(kde_datadir)/kpercentage
12 # this 10 paths are KDE specific. Use them:
13 # kde_htmldir       Where your docs should go to. (contains lang subdirs)
14 # kde_appsdir       Where your application file (.kdelnk) should go to.
15 xdg_apps_DATA = kpercentage.desktop
16 # kde_icondir       Where your icon should go to.
17 # kde_minidir       Where your mini icon should go to.
18 # kde_datadir       Where you install application data. (Use a subdir)
19 # kde_locale        Where translation files should go to.(contains lang subdirs)
20 # kde_cgidir        Where cgi-bin executables should go to.
21 # kde_confdir       Where config files should go to.
22 # kde_mimedir       Where mimetypes should go to.
23 # kde_toolbardir    Where general toolbar icons should go to.
24 # kde_wallpaperdir  Where general wallpapers should go to.
26 # set the include path for X, qt and KDE
27 INCLUDES= $(all_includes)
29 METASOURCES = AUTO
32 # the library search path.
33 kpercentage_LDFLAGS = $(all_libraries) $(KDE_RPATH)
36 stringstocpp:
37         rm -f feedback_i18n.cpp; \
38         echo "# right.txt" >> feedback_i18n.cpp ;\
39         cat right.txt | sed -e 's#^\(.*\)#i18n(\"\1\")#' >> feedback_i18n.cpp ;\
40         echo "# wrong.txt" >> feedback_i18n.cpp ;\
41         cat wrong.txt | sed -e 's#^\(.*\)#i18n(\"\1\")#' >> feedback_i18n.cpp
44 messages: stringstocpp rc.cpp
45         LIST=`find . -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
46         if test -n "$$LIST"; then \
47          $(XGETTEXT) $$LIST -o $(podir)/kpercentage.pot; \
48         fi