diff options
author | Perberos <[email protected]> | 2011-12-01 21:51:44 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2011-12-01 21:51:44 -0300 |
commit | 0b0e6bc987da4fd88a7854ebb12bde705e92c428 (patch) | |
tree | 47d329edd31c67eaa36b2147780e37e197e901b5 /capplets/network/Makefile.am | |
download | mate-control-center-0b0e6bc987da4fd88a7854ebb12bde705e92c428.tar.bz2 mate-control-center-0b0e6bc987da4fd88a7854ebb12bde705e92c428.tar.xz |
moving from https://github.com/perberos/mate-desktop-environment
Diffstat (limited to 'capplets/network/Makefile.am')
-rw-r--r-- | capplets/network/Makefile.am | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/capplets/network/Makefile.am b/capplets/network/Makefile.am new file mode 100644 index 00000000..823dfc48 --- /dev/null +++ b/capplets/network/Makefile.am @@ -0,0 +1,50 @@ +# This is used in MATECC_CAPPLETS_CFLAGS +cappletname = network + +bin_PROGRAMS = mate-network-properties + +mate_network_properties_SOURCES = mate-network-properties.c +mate_network_properties_LDADD = $(MATECC_CAPPLETS_LIBS) + +@INTLTOOL_DESKTOP_RULE@ + +uidir = $(pkgdatadir)/ui +dist_ui_DATA = mate-network-properties.ui + +icons16dir = $(datadir)/icons/hicolor/16x16/apps +dist_icons16_DATA = icons/16x16/mate-network-properties.png +icons22dir = $(datadir)/icons/hicolor/22x22/apps +dist_icons22_DATA = icons/22x22/mate-network-properties.png +icons24dir = $(datadir)/icons/hicolor/24x24/apps +dist_icons24_DATA = icons/24x24/mate-network-properties.png +icons32dir = $(datadir)/icons/hicolor/32x32/apps +dist_icons32_DATA = icons/32x32/mate-network-properties.png +icons48dir = $(datadir)/icons/hicolor/48x48/apps +dist_icons48_DATA = icons/48x48/mate-network-properties.png +iconssvgdir = $(datadir)/icons/hicolor/scalable/apps +dist_iconssvg_DATA = icons/scalable/mate-network-properties.svg + +desktopdir = $(datadir)/applications +desktop_in_files = mate-network-properties.desktop.in +desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) + +INCLUDES = \ + $(MATECC_CAPPLETS_CFLAGS) \ + -DMATELOCALEDIR="\"$(datadir)/locale\"" \ + -DMATECC_UI_DIR="\"$(uidir)\"" + +gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor +uninstall-hook: update-icon-cache +install-data-hook: update-icon-cache +update-icon-cache: + @-if test -z "$(DESTDIR)"; then \ + echo "Updating Gtk icon cache."; \ + $(gtk_update_icon_cache); \ + else \ + echo "*** Icon cache not updated. After install, run this:"; \ + echo "*** $(gtk_update_icon_cache)"; \ + fi + +CLEANFILES = $(MATECC_CAPPLETS_CLEANFILES) $(desktop_in_files) $(desktop_DATA) + +-include $(top_srcdir)/git.mk |