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/imageid-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 \
290
290
abs_srcdir = @abs_srcdir@
291
291
abs_top_builddir = @abs_top_builddir@
292
292
abs_top_srcdir = @abs_top_srcdir@
293
ac_ct_AR = @ac_ct_AR@
293
294
ac_ct_CC = @ac_ct_CC@
294
295
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
295
296
ac_ct_OBJC = @ac_ct_OBJC@
344
344
top_build_prefix = @top_build_prefix@
345
345
top_builddir = @top_builddir@
346
346
top_srcdir = @top_srcdir@
347
ACTIVITY_DESTDIR = $(DESTDIR)/$(notdir $(abs_builddir))
347
348
SUBDIRS = resources
348
349
@PLATFORM_WIN32_FALSE@shared =
349
350
@PLATFORM_WIN32_TRUE@shared = -shared
385
386
.SUFFIXES: .c .lo .o .obj
386
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
387
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.activity $(am__configure_deps)
387
388
@for dep in $?; do \
388
389
case '$(am__configure_deps)' in \
845
846
uninstall-libLTLIBRARIES uninstall-xmlDATA
849
install-activity: all-am do-install-activity do-install-resources do-install-launcher
851
do-install-activity: install
852
for i in $(ACTIVITY_SUBDIRS); do $(MAKE) -C ../$$i do-install-activity || break 0; done
854
do-install-resources:
855
@[ "$(DESTDIR)" ] || (echo 'Pass DESTDIR with $@'; false)
856
$(MAKE) DESTDIR=$(ACTIVITY_DESTDIR) -C $(top_builddir)/src/goocanvas install
857
$(MAKE) DESTDIR=$(ACTIVITY_DESTDIR) -C $(top_builddir)/src/gcompris install
858
$(MAKE) DESTDIR=$(ACTIVITY_DESTDIR) -C $(top_builddir)/po install
859
$(MAKE) DESTDIR=$(ACTIVITY_DESTDIR) do-install-activity
860
$(INSTALL) -d $(ACTIVITY_DESTDIR)/$(pkgdatadir)/boards
861
cp -r $(top_srcdir)/boards/skins $(ACTIVITY_DESTDIR)/$(pkgdatadir)/boards/
862
cp -r $(top_srcdir)/boards/sounds $(ACTIVITY_DESTDIR)/$(pkgdatadir)/boards/
863
if [ "$$(cat $(builddir)/*.xml | grep 'type *=.*python:')" ]; then \
864
$(MAKE) DESTDIR=$(ACTIVITY_DESTDIR) -C $(top_builddir)/src/boards install; \
868
[ $(notdir $(abs_builddir)) == administration-activity ] || ( \
869
mv $(ACTIVITY_DESTDIR)/$(bindir)/gcompris{,.bin}; \
870
launcher=$(ACTIVITY_DESTDIR)/$(bindir)/gcompris; \
871
name="$$(cat $(builddir)/*.xml | grep -o 'name *= *"[^"]\+' | awk -F\" '{print $$2}')"; \
872
section="$$(cat $(builddir)/*.xml | grep -o 'section *= *"[^"]\+' | awk -F\" '{print $$2}')"; \
873
echo -e "#!/bin/sh\nexec \$$(dirname \$$0)/gcompris.bin -l $$section/$$name \$$@" > $$launcher; \
874
chmod 0755 $$launcher )
848
876
# Do not use the INTLTOOL_XML_RULE, we don't need to embed the translations
849
877
# in the file themselves. GCompris pick the translations from the po file at