~ubuntu-branches/ubuntu/lucid/almanah/lucid

« back to all changes in this revision

Viewing changes to data/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Ebner
  • Date: 2008-07-04 15:07:43 UTC
  • Revision ID: james.westby@ubuntu.com-20080704150743-tgp3cljsjpolgv00
Tags: upstream-0.4.0
ImportĀ upstreamĀ versionĀ 0.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SUBDIRS = icons
 
2
 
 
3
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
 
4
 
 
5
install-data-hook: update-icon-cache
 
6
uninstall-hook: update-icon-cache
 
7
update-icon-cache:
 
8
        @-if test -z "$(DESTDIR)"; then \
 
9
                echo "Updating GTK+ icon cache."; \
 
10
                $(gtk_update_icon_cache); \
 
11
        else \
 
12
                echo "*** Icon cache not updated.  After (un)install, run this:"; \
 
13
                echo "***   $(gtk_update_icon_cache)"; \
 
14
        fi
 
15
 
 
16
# UI file
 
17
uidir = $(datadir)/almanah
 
18
ui_DATA = almanah.ui
 
19
 
 
20
# Desktop file
 
21
@INTLTOOL_DESKTOP_RULE@
 
22
 
 
23
desktop_in_files = almanah.desktop.in
 
24
desktopdir = $(datadir)/applications
 
25
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 
26
 
 
27
EXTRA_DIST = \
 
28
        $(ui_DATA)      \
 
29
        $(desktop_in_files)
 
30
CLEANFILES = $(desktop_DATA)