~ubuntu-branches/ubuntu/precise/activity-log-manager/precise

« back to all changes in this revision

Viewing changes to data/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Didier Roche
  • Date: 2012-02-08 16:00:51 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120208160051-sttdcpufirsmdl2x
Tags: 0.9.0.1-0ubuntu1
* New upstream release, with gnome-control-center integration
* debian/copyright:
  - update to the new content files
* debian/pyversions, debian/control, debian/rules:
  - update to the new vala version (transition from the python one) with
    new build-deps
  - remove the .la .a files
* debian/rules, debian/control, debian/*.install
  - pass --with-ccpanel to build the g-c-c panel integration
  - list the new upstream launchpad page
  - add activity-log-manager-control-center package containing only the
    control center integration and activity-log-manager-common for the asset
  - remove COPYING file shipped by upstream on make install
* debian/watch:
  - point to the new upstream launchpad tarball

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- Mode: Makefile; indent-tabs-mode: t; tab-width: 2 -*-
 
2
#
 
3
# This file is part of Déjà Dup.
 
4
# For copyright information, see AUTHORS.
 
5
#
 
6
# Déjà Dup is free software; you can redistribute it and/or modify
 
7
# it under the terms of the GNU General Public License as published by
 
8
# the Free Software Foundation; either version 3 of the License, or
 
9
# (at your option) any later version.
 
10
#
 
11
# Déjà Dup is distributed in the hope that it will be useful, but
 
12
# WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
14
# General Public License for more details.
 
15
#
 
16
# You should have received a copy of the GNU General Public License
 
17
# along with Déjà Dup.  If not, see <http://www.gnu.org/licenses/>.
 
18
 
 
19
nobase_dist_data_DATA = \
 
20
        icons/hicolor/32x32/apps/alm.svg \
 
21
        icons/hicolor/48x48/apps/alm.svg
 
22
 
 
23
desktopdir = $(datadir)/applications
 
24
desktop_in_files = alm.desktop.in alm-ccpanel.desktop.in
 
25
 
 
26
if HAVE_CCPANEL
 
27
desktop_in_files+ = alm-ccpanel.desktop.in
 
28
endif
 
29
 
 
30
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 
31
@INTLTOOL_DESKTOP_RULE@
 
32
 
 
33
EXTRA_DIST = alm.desktop.in alm-ccpanel.desktop.in
 
34
CLEANFILES = alm.desktop alm-ccpanel.desktop 
 
35
 
 
36
check: $(desktop_DATA)
 
37
        for desktop in $(desktop_DATA); do \
 
38
                desktop-file-validate $${desktop}; \
 
39
        done
 
40
 
 
41
gtk_update_icon_cache = gtk-update-icon-cache -f -t
 
42
install-data-hook: update-icon-cache
 
43
uninstall-hook: update-icon-cache
 
44
 
 
45
update-icon-cache:
 
46
        @-if test -z "$(DESTDIR)"; then \
 
47
                echo "Updating Gtk icon cache."; \
 
48
                $(gtk_update_icon_cache) $(datadir)/icons/hicolor; \
 
49
        else \
 
50
                echo "*** Icon cache not updated.  After (un)install, run these:"; \
 
51
                echo "***   $(gtk_update_icon_cache) $(datadir)/icons/hicolor"; \
 
52
        fi