~ubuntu-branches/ubuntu/feisty/sound-juicer/feisty

« back to all changes in this revision

Viewing changes to data/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2006-08-21 10:13:59 UTC
  • mfrom: (1.1.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20060821101359-0kpdum0f8mdezeg1
Tags: 2.15.5.1-0ubuntu1
* New upstream version:
  - Update the icon cache on install
  - Fix intltool requirements

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
schema_DATA = $(schema_in_files:.schemas.in=.schemas)
12
12
@INTLTOOL_SCHEMAS_RULE@
13
13
 
 
14
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
 
15
 
14
16
install-icons:
15
17
# This sucks
16
18
        for size in 16x16 22x22 24x24 scalable; do mkdir --parents $(DESTDIR)/$(datadir)/icons/hicolor/$$size/apps; done
19
21
        install -m 644 $(srcdir)/sound-juicer-24.png $(DESTDIR)/$(datadir)/icons/hicolor/24x24/apps/sound-juicer.png
20
22
        install -m 644 $(srcdir)/sound-juicer.svg $(DESTDIR)/$(datadir)/icons/hicolor/scalable/apps/sound-juicer.svg
21
23
 
 
24
        @-if test -z "$(DESTDIR)"; then \
 
25
                echo "Updating GTK icon cache."; \
 
26
                $(gtk_update_icon_cache); \
 
27
        else \
 
28
                echo "*** Icon cache not updated.  After install, run this:"; \
 
29
                echo "***   $(gtk_update_icon_cache)"; \
 
30
        fi
 
31
 
22
32
install-data-local: install-icons
23
33
        GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \
24
34
          $(GCONFTOOL) --makefile-install-rule $(schema_DATA) || \