36
36
build_triplet = @build@
37
37
host_triplet = @host@
38
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
39
$(top_srcdir)/Makefile.activity
38
40
subdir = src/clickgame-activity
39
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
40
41
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
41
42
am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
42
43
$(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
291
291
abs_srcdir = @abs_srcdir@
292
292
abs_top_builddir = @abs_top_builddir@
293
293
abs_top_srcdir = @abs_top_srcdir@
294
ac_ct_AR = @ac_ct_AR@
294
295
ac_ct_CC = @ac_ct_CC@
295
296
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
296
297
ac_ct_OBJC = @ac_ct_OBJC@
345
345
top_build_prefix = @top_build_prefix@
346
346
top_builddir = @top_builddir@
347
347
top_srcdir = @top_srcdir@
348
ACTIVITY_DESTDIR = $(DESTDIR)/$(notdir $(abs_builddir))
348
349
SUBDIRS = resources
349
350
@PLATFORM_WIN32_FALSE@shared =
350
351
@PLATFORM_WIN32_TRUE@shared = -shared
387
388
.SUFFIXES: .c .lo .o .obj
388
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
389
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.activity $(am__configure_deps)
389
390
@for dep in $?; do \
390
391
case '$(am__configure_deps)' in \
847
848
uninstall-libLTLIBRARIES uninstall-xmlDATA
851
install-activity: all-am do-install-activity do-install-resources do-install-launcher
853
do-install-activity: install
854
for i in $(ACTIVITY_SUBDIRS); do $(MAKE) -C ../$$i do-install-activity || break 0; done
856
do-install-resources:
857
@[ "$(DESTDIR)" ] || (echo 'Pass DESTDIR with $@'; false)
858
$(MAKE) DESTDIR=$(ACTIVITY_DESTDIR) -C $(top_builddir)/src/goocanvas install
859
$(MAKE) DESTDIR=$(ACTIVITY_DESTDIR) -C $(top_builddir)/src/gcompris install
860
$(MAKE) DESTDIR=$(ACTIVITY_DESTDIR) -C $(top_builddir)/po install
861
$(MAKE) DESTDIR=$(ACTIVITY_DESTDIR) do-install-activity
862
$(INSTALL) -d $(ACTIVITY_DESTDIR)/$(pkgdatadir)/boards
863
cp -r $(top_srcdir)/boards/skins $(ACTIVITY_DESTDIR)/$(pkgdatadir)/boards/
864
cp -r $(top_srcdir)/boards/sounds $(ACTIVITY_DESTDIR)/$(pkgdatadir)/boards/
865
if [ "$$(cat $(builddir)/*.xml | grep 'type *=.*python:')" ]; then \
866
$(MAKE) DESTDIR=$(ACTIVITY_DESTDIR) -C $(top_builddir)/src/boards install; \
870
[ $(notdir $(abs_builddir)) == administration-activity ] || ( \
871
mv $(ACTIVITY_DESTDIR)/$(bindir)/gcompris{,.bin}; \
872
launcher=$(ACTIVITY_DESTDIR)/$(bindir)/gcompris; \
873
name="$$(cat $(builddir)/*.xml | grep -o 'name *= *"[^"]\+' | awk -F\" '{print $$2}')"; \
874
section="$$(cat $(builddir)/*.xml | grep -o 'section *= *"[^"]\+' | awk -F\" '{print $$2}')"; \
875
echo -e "#!/bin/sh\nexec \$$(dirname \$$0)/gcompris.bin -l $$section/$$name \$$@" > $$launcher; \
876
chmod 0755 $$launcher )
850
878
# Do not use the INTLTOOL_XML_RULE, we don't need to embed the translations
851
879
# in the file themselves. GCompris pick the translations from the po file at