1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
|
SUBDIRS = icons
################################################################################
# Package Config Stuff
################################################################################
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_in_files = conduit.pc.in
pkgconfig_DATA = $(pkgconfig_in_files:.pc.in=.pc)
################################################################################
# GConf Schemas
################################################################################
# GConf Preference Schemas
#schemadir = $(GCONF_SCHEMA_FILE_DIR)
#schema_in_files = conduit.schemas.in
#schema_DATA = $(schema_in_files:.schemas.in=.schemas)
#@INTLTOOL_SCHEMAS_RULE@
################################################################################
# Icons
################################################################################
gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
install-data-hook: update-icon-cache
uninstall-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 (un)install, run this:"; \
echo "*** $(gtk_update_icon_cache)"; \
fi
resourcesdir = $(pkgdatadir)
resources_DATA = \
conduit.ui \
backpack.png \
evolution-tasks.png \
evolution-memos.png \
conduit-splash.png \
facebook.png \
feed.png \
picasa.png \
smugmug.png \
boxdotnet.png \
flickr.png \
shutterfly.png \
youtube.png \
zoto.png \
windows.png
conduitbindir = $(libdir)/conduit
################################################################################
# Desktop file
################################################################################
desktopdir = $(datadir)/applications
desktop_in_files = conduit.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
################################################################################
# DBus
################################################################################
dbusservicedir=$(DBUS_SERVICES_DIR)
dbusservice_in_files=org.conduit.service.in
dbusservice_DATA=$(dbusservice_in_files:.service.in=.service)
$(dbusservice_DATA): $(dbusservice_in_files) Makefile
@sed -e "s|\@bindir\@|$(bindir)|" $< > $@
################################################################################
# Build rules
################################################################################
#if GCONF_SCHEMAS_INSTALL
#install-data-local: install-schemas
#install-schemas:
# GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) \
# $(GCONFTOOL) --makefile-install-rule $(schema_DATA)
#endif
DISTCLEANFILES = \
$(pkgconfig_DATA) \
$(desktop_DATA)
EXTRA_DIST = \
$(resources_DATA) \
$(pkgconfig_in_files) \
$(dbusservice_in_files) \
conduit.desktop.in.in \
COPYING
CLEANFILES = conduit.desktop org.conduit.service
|