~kroq-gar78/ubuntu/precise/gnome-control-center/fix-885947

« back to all changes in this revision

Viewing changes to capplets/display/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Rodrigo Moya
  • Date: 2011-05-17 10:47:27 UTC
  • mfrom: (0.1.11 experimental) (1.1.45 upstream)
  • Revision ID: james.westby@ubuntu.com-20110517104727-lqel6m8vhfw5jby1
Tags: 1:3.0.1.1-1ubuntu1
* Rebase on Debian, remaining Ubuntu changes:
* debian/control:
  - Build-Depend on hardening-wrapper, dpkg-dev and dh-autoreconf
  - Add dependency on ubuntu-system-service
  - Remove dependency on gnome-icon-theme-symbolic
  - Move dependency on apg, gnome-icon-theme-symbolic and accountsservice to
    be a Recommends: until we get them in main
* debian/rules:
  - Use autoreconf
  - Add binary-post-install rule for gnome-control-center-data
  - Run dh-autoreconf
* debian/gnome-control-center.dirs:
* debian/gnome-control-center.links:
  - Add a link to the control center shell for indicators
* debian/patches/00_disable-nm.patch:
  - Temporary patch to disable building with NetworkManager until we get
    the new one in the archive
* debian/patches/01_git_remove_gettext_calls.patch:
  - Remove calls to AM_GNU_GETTEXT, IT_PROG_INTLTOOL should be enough
* debian/patches/01_git_kill_warning.patch:
  - Kill warning
* debian/patches/50_ubuntu_systemwide_prefs.patch:
  - Ubuntu specific proxy preferences
* debian/patches/51_ubuntu_system_keyboard.patch:
  - Implement the global keyboard spec at https://wiki.ubuntu.com/DefaultKeyboardSettings

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# This is used in GNOMECC_CAPPLETS_CFLAGS
2
 
cappletname = display
3
 
 
4
 
uidir = $(pkgdatadir)/ui
5
 
dist_ui_DATA = display-capplet.ui
6
 
 
7
 
bin_PROGRAMS = gnome-display-properties
8
 
 
9
 
sbin_PROGRAMS = gnome-display-properties-install-systemwide
10
 
 
11
 
gnome_display_properties_SOURCES =      \
12
 
        xrandr-capplet.c                \
13
 
        scrollarea.c                    \
14
 
        foo-marshal.c                   \
15
 
        scrollarea.h                    \
16
 
        foo-marshal.h
17
 
 
18
 
gnome_display_properties_LDFLAGS = -export-dynamic
19
 
gnome_display_properties_LDADD = \
20
 
        $(top_builddir)/capplets/common/libcommon.la \
21
 
        $(DISPLAY_CAPPLET_LIBS)
22
 
 
23
 
gnome_display_properties_install_systemwide_SOURCES =   \
24
 
        gnome-display-properties-install-systemwide.c
25
 
 
26
 
gnome_display_properties_install_systemwide_LDADD =     \
27
 
        $(GLIB_LIBS)
28
 
 
29
 
polkit_policydir = $(datadir)/polkit-1/actions
30
 
dist_polkit_policy_DATA =                                       \
31
 
        org.gnome.randr.policy
32
 
 
33
 
# You will need a recent intltool or the patch from this bug
34
 
# http://bugzilla.gnome.org/show_bug.cgi?id=462312
35
 
@INTLTOOL_POLICY_RULE@
36
 
 
37
 
@INTLTOOL_DESKTOP_RULE@
38
 
 
39
 
icons16dir = $(datadir)/icons/hicolor/16x16/apps
40
 
dist_icons16_DATA = icons/16x16/preferences-desktop-display.png
41
 
icons22dir = $(datadir)/icons/hicolor/22x22/apps
42
 
dist_icons22_DATA = icons/22x22/preferences-desktop-display.png
43
 
icons24dir = $(datadir)/icons/hicolor/24x24/apps
44
 
dist_icons24_DATA = icons/24x24/preferences-desktop-display.png
45
 
icons32dir = $(datadir)/icons/hicolor/32x32/apps
46
 
dist_icons32_DATA = icons/32x32/preferences-desktop-display.png
47
 
iconssvgdir = $(datadir)/icons/hicolor/scalable/apps
48
 
dist_iconssvg_DATA = icons/scalable/preferences-desktop-display.svg
49
 
 
50
 
desktopdir = $(datadir)/applications
51
 
Desktop_in_files = display-properties.desktop.in
52
 
desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop)
53
 
 
54
 
INCLUDES   = $(DISPLAY_CAPPLET_CFLAGS) \
55
 
             $(GNOMECC_CAPPLETS_CFLAGS) \
56
 
             -DSBINDIR="\"$(sbindir)\"" \
57
 
             -DUIDIR="\"$(uidir)\"" \
58
 
             -DGNOMELOCALEDIR="\"$(datadir)/locale\"" \
59
 
             -DGNOMECC_DATA_DIR="\"$(pkgdatadir)\""
60
 
 
61
 
CLEANFILES = $(GNOMECC_CAPPLETS_CLEANFILES) $(Desktop_in_files) $(desktop_DATA)
62
 
 
63
 
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
64
 
install-data-hook: update-icon-cache
65
 
uninstall-hook: update-icon-cache
66
 
update-icon-cache:
67
 
        @-if test -z "$(DESTDIR)"; then \
68
 
                echo "Updating Gtk icon cache."; \
69
 
                $(gtk_update_icon_cache); \
70
 
        else \
71
 
                echo "*** Icon cache not updated.  After (un)install, run this:"; \
72
 
                echo "***   $(gtk_update_icon_cache)"; \
73
 
        fi
74
 
 
75
 
EXTRA_DIST = org.gnome.randr.policy.in
76
 
DISTCLEANFILES = org.gnome.randr.policy
77
 
 
78
 
-include $(top_srcdir)/git.mk