~ubuntu-branches/debian/sid/gsmartcontrol/sid

« back to all changes in this revision

Viewing changes to .pc/01_use_su-to-root.patch/data/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Giuseppe Iuculano
  • Date: 2011-07-15 14:59:29 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20110715145929-2o1o4phm5w1rwttz
Tags: 0.8.6-1
* [dbb993d] Updated my email address and removed DM-Upload-Allowed
  control field
* [b681b5b] Imported Upstream version 0.8.6
* [ab9bb7a] Refreshed patches
* [a909506] Bump to Standards-Version 3.9.2, no changes needed
* [48dd13d] Switch to dpkg-source 3.0 (quilt) format

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
SUBDIRS = 16 22 24 32 48 64 128 256 nsis
 
3
 
 
4
 
 
5
dist_man_MANS = gsmartcontrol.1
 
6
 
 
7
install-extra-mans:
 
8
        cd $(DESTDIR)$(mandir)/man1 && $(LN_S) -f gsmartcontrol.1 gsmartcontrol-root.1
 
9
 
 
10
uninstall-extra-mans:
 
11
        cd $(DESTDIR)$(mandir)/man1 && rm -f gsmartcontrol-root.1
 
12
 
 
13
 
 
14
# This command is needed if installing with make install (the cache
 
15
# file is ignored for rpms).
 
16
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
 
17
 
 
18
install-data-hook: install-extra-mans update-icon-cache
 
19
uninstall-hook: uninstall-extra-mans update-icon-cache
 
20
 
 
21
update-icon-cache:
 
22
        @-if test -z "$(DESTDIR)"; then \
 
23
                echo "Updating GTK icon cache."; \
 
24
                $(gtk_update_icon_cache); \
 
25
        else \
 
26
                echo "*** Icon cache not updated.  After (un)install, run this:"; \
 
27
                echo "***   $(gtk_update_icon_cache)"; \
 
28
        fi
 
29
 
 
30
 
 
31
# Application data, installs to /usr/share/appname
 
32
appdatadir = $(pkgdatadir)
 
33
appdata_DATA = icon_cddvd.png icon_hdd.png
 
34
 
 
35
 
 
36
# pkgdatadir = $(datadir)/gsmartcontrol
 
37
# pkgdata_DATA =
 
38
 
 
39
# Desktop files
 
40
desktopdir = $(datadir)/applications
 
41
desktop_DATA = gsmartcontrol.desktop
 
42
 
 
43
 
 
44
# Application pixmap (fallback icon for desktop files).
 
45
# Same as 48/gsmartcontrol.png.
 
46
# Also, xpm for debian menu, 32x32.
 
47
pixmapsdir = $(datadir)/pixmaps
 
48
pixmaps_DATA = 48/gsmartcontrol.png gsmartcontrol.xpm
 
49
 
 
50
 
 
51
# Put everything inside the distribution
 
52
EXTRA_DIST = $(appdata_DATA) gsmartcontrol.ico gsmartcontrol.xpm
 
53
 
 
54
 
 
55
bin_SCRIPTS = gsmartcontrol-root
 
56
CLEANFILES = $(bin_SCRIPTS)
 
57