edit = sed \ -e 's,@pixmapsdir\@,$(pixmapsdir),g' \ -e 's,@icondir\@,$(icondir),g' \ -e 's,@svgicondir\@, $(svgicondir),g' \ -e 's,@scribes_prefix\@,$(prefix),g' \ -e 's,@scribes_data_path\@,$(datadir),g' \ -e 's,@VERSION\@,$(VERSION),g' # Process Scribes logo. pixmapsdir = $(datadir)/pixmaps pixmaps_DATA = scribes.png # Process Scribes data files. scribesdir = $(datadir)/scribes scribes_DATA = \ bookmarks.png \ ModificationDialog.glade \ throbber-active.gif \ throbber-inactive.png icondir = $(datadir)/icons/hicolor/48x48/apps icon_DATA = scribes.png #svgicondir = $(datadir)/icons/hicolor/scalable/apps #svgicon_DATA = scribes.png gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor install-data-hook: @-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 # Process Scribes freedesktop.org metadata for GNOME. Desktopdir = $(datadir)/applications Desktop_files = scribes.desktop Desktop_in_files = scribes.desktop.in Desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop) @INTLTOOL_DESKTOP_RULE@ # Process Scribes GConf schema file. schemasdir = $(GCONF_SCHEMA_FILE_DIR) schemas_in_files = scribes.schemas schemas_DATA = $(schemas_in_files) @INTLTOOL_SCHEMAS_RULE@ if GCONF_SCHEMAS_INSTALL install-data-local: if test -z "$(DESTDIR)" ; then \ for p in $(schemas_DATA) ; do \ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$$p ; \ done \ fi else install-data-local: endif EXTRA_DIST = \ bookmarks.png \ throbber-inactive.png \ throbber-active.gif \ scribes.desktop.in \ scribes.schemas.in \ ModificationDialog.glade \ scribes.png CLEANFILES = \ $(Desktop_DATA) \ $(schemas_DATA)