~ubuntu-branches/ubuntu/precise/gcompris/precise

« back to all changes in this revision

Viewing changes to src/money_back_cents-activity/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2012-01-10 01:37:41 UTC
  • mfrom: (1.1.18)
  • Revision ID: package-import@ubuntu.com-20120110013741-onkb9zctwvt8gnl8
Tags: 12.01-0ubuntu1
* New upstream release (LP: #914137)
  - New Braille activities
  - Fixes missing English finland.ogg (LP: #228672)
  - Added Thai translation
* Drop all patches since they've been applied upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
POST_UNINSTALL = :
35
35
build_triplet = @build@
36
36
host_triplet = @host@
 
37
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
 
38
        $(top_srcdir)/Makefile.activity
37
39
subdir = src/money_back_cents-activity
38
 
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
39
40
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
40
41
am__aclocal_m4_deps = $(top_srcdir)/m4/intltool.m4 \
41
42
        $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
145
146
CPPFLAGS = @CPPFLAGS@
146
147
CYGPATH_W = @CYGPATH_W@
147
148
DATADIRNAME = @DATADIRNAME@
148
 
DBUS_CFLAGS = @DBUS_CFLAGS@
149
 
DBUS_LIBS = @DBUS_LIBS@
150
149
DEFS = @DEFS@
151
150
DEPDIR = @DEPDIR@
152
151
DLLTOOL = @DLLTOOL@
192
191
LTLIBOBJS = @LTLIBOBJS@
193
192
MAINT = @MAINT@
194
193
MAKEINFO = @MAKEINFO@
 
194
MANIFEST_TOOL = @MANIFEST_TOOL@
195
195
MKDIR_P = @MKDIR_P@
196
196
MKINSTALLDIRS = @MKINSTALLDIRS@
197
197
MSGFMT = @MSGFMT@
258
258
abs_srcdir = @abs_srcdir@
259
259
abs_top_builddir = @abs_top_builddir@
260
260
abs_top_srcdir = @abs_top_srcdir@
 
261
ac_ct_AR = @ac_ct_AR@
261
262
ac_ct_CC = @ac_ct_CC@
262
263
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
263
264
ac_ct_OBJC = @ac_ct_OBJC@
291
292
libexecdir = @libexecdir@
292
293
localedir = @localedir@
293
294
localstatedir = @localstatedir@
294
 
lt_ECHO = @lt_ECHO@
295
295
mandir = @mandir@
296
296
mkdir_p = @mkdir_p@
297
297
oldincludedir = @oldincludedir@
312
312
top_build_prefix = @top_build_prefix@
313
313
top_builddir = @top_builddir@
314
314
top_srcdir = @top_srcdir@
 
315
ACTIVITY_DESTDIR = $(DESTDIR)/$(notdir $(abs_builddir))
 
316
ACTIVITY_SUBDIRS = money-activity
315
317
SUBDIRS = 
316
318
xmldir = $(pkgdatadir)/@PACKAGE_DATA_DIR@
317
319
xml_in_files = \
329
331
all: all-recursive
330
332
 
331
333
.SUFFIXES:
332
 
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
 
334
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.activity $(am__configure_deps)
333
335
        @for dep in $?; do \
334
336
          case '$(am__configure_deps)' in \
335
337
            *$$dep*) \
718
720
        uninstall-iconDATA uninstall-xmlDATA
719
721
 
720
722
 
 
723
install-activity: all-am do-install-activity do-install-resources do-install-launcher
 
724
 
 
725
do-install-activity: install
 
726
        for i in $(ACTIVITY_SUBDIRS); do $(MAKE) -C ../$$i do-install-activity || break 0; done
 
727
 
 
728
do-install-resources:
 
729
        @[ "$(DESTDIR)" ] || (echo 'Pass DESTDIR with $@'; false)
 
730
        $(MAKE) DESTDIR=$(ACTIVITY_DESTDIR) -C $(top_builddir)/src/goocanvas install
 
731
        $(MAKE) DESTDIR=$(ACTIVITY_DESTDIR) -C $(top_builddir)/src/gcompris install
 
732
        $(MAKE) DESTDIR=$(ACTIVITY_DESTDIR) -C $(top_builddir)/po install
 
733
        $(MAKE) DESTDIR=$(ACTIVITY_DESTDIR) do-install-activity
 
734
        $(INSTALL) -d $(ACTIVITY_DESTDIR)/$(pkgdatadir)/boards
 
735
        cp -r $(top_srcdir)/boards/skins $(ACTIVITY_DESTDIR)/$(pkgdatadir)/boards/
 
736
        cp -r $(top_srcdir)/boards/sounds $(ACTIVITY_DESTDIR)/$(pkgdatadir)/boards/
 
737
        if [ "$$(cat $(builddir)/*.xml | grep 'type *=.*python:')" ]; then \
 
738
                $(MAKE) DESTDIR=$(ACTIVITY_DESTDIR) -C $(top_builddir)/src/boards install; \
 
739
        fi
 
740
 
 
741
do-install-launcher:
 
742
        [ $(notdir $(abs_builddir)) == administration-activity ] || ( \
 
743
        mv $(ACTIVITY_DESTDIR)/$(bindir)/gcompris{,.bin}; \
 
744
        launcher=$(ACTIVITY_DESTDIR)/$(bindir)/gcompris; \
 
745
        name="$$(cat $(builddir)/*.xml | grep -o 'name *= *"[^"]\+' | awk -F\" '{print $$2}')"; \
 
746
        section="$$(cat $(builddir)/*.xml | grep -o 'section *= *"[^"]\+' | awk -F\" '{print $$2}')"; \
 
747
        echo -e "#!/bin/sh\nexec \$$(dirname \$$0)/gcompris.bin -l $$section/$$name \$$@" > $$launcher; \
 
748
        chmod 0755 $$launcher )
 
749
 
721
750
# Do not use the INTLTOOL_XML_RULE, we don't need to embed the translations
722
751
# in the file themselves. GCompris pick the translations from the po file at
723
752
# runtime.