2002-12-01 13:52:09 +00:00
|
|
|
|
2003-05-20 16:46:02 +00:00
|
|
|
INCLUDES = $(FONT_METHOD_CFLAGS) $(FONT_THUMBNAILER_CFLAGS) $(FONT_VIEW_CFLAGS) \
|
2007-01-31 21:09:43 +00:00
|
|
|
$(FONT_CONTEXT_MENU_CFLAGS) -DDIRECTORY_DIR=\"$(directorydir)\" \
|
|
|
|
-DGNOMELOCALEDIR=\"$(datadir)/locale\"
|
2002-12-01 13:52:09 +00:00
|
|
|
|
2002-12-01 13:59:26 +00:00
|
|
|
vfsmoduledir = $(libdir)/gnome-vfs-2.0/modules
|
|
|
|
vfsmodule_LTLIBRARIES = libfont-method.la
|
2002-12-01 13:52:09 +00:00
|
|
|
|
2002-12-05 15:47:45 +00:00
|
|
|
bin_PROGRAMS = gnome-thumbnail-font gnome-font-viewer
|
2002-12-01 13:52:09 +00:00
|
|
|
|
2002-12-24 07:32:17 +00:00
|
|
|
libfont_method_la_LDFLAGS = -module -avoid-version \
|
|
|
|
-export-symbols-regex 'vfs_module_.*'
|
2002-12-02 07:31:30 +00:00
|
|
|
libfont_method_la_LIBADD = $(FONT_METHOD_LIBS)
|
2002-12-01 13:52:09 +00:00
|
|
|
libfont_method_la_SOURCES = font-method.c
|
|
|
|
|
2003-05-20 16:46:02 +00:00
|
|
|
gnome_thumbnail_font_LDADD = $(FONT_THUMBNAILER_LIBS)
|
2002-12-05 15:47:45 +00:00
|
|
|
gnome_thumbnail_font_SOURCES = ftstream-vfs.c thumbnailer.c
|
|
|
|
|
|
|
|
gnome_font_viewer_LDADD = $(FONT_VIEW_LIBS)
|
|
|
|
gnome_font_viewer_SOURCES = ftstream-vfs.c font-view.c
|
|
|
|
|
2004-11-27 13:13:25 +00:00
|
|
|
nautilusdir = $(libdir)/nautilus/extensions-1.0
|
|
|
|
nautilus_LTLIBRARIES = libnautilus-fontilus.la
|
|
|
|
libnautilus_fontilus_la_LDFLAGS = -module -avoid-version \
|
|
|
|
-export-symbols-regex 'nautilus_module_.*'
|
|
|
|
libnautilus_fontilus_la_LIBADD = $(FONT_CONTEXT_MENU_LIBS)
|
|
|
|
libnautilus_fontilus_la_SOURCES = fontilus-context-menu.c
|
2003-02-02 15:06:29 +00:00
|
|
|
|
2002-12-01 13:59:26 +00:00
|
|
|
vfsmoduleconfdir = $(sysconfdir)/gnome-vfs-2.0/modules
|
|
|
|
vfsmoduleconf_DATA = font-method.conf
|
|
|
|
|
2006-04-05 05:48:28 +00:00
|
|
|
directorydir = $(datadir)/desktop-directories
|
|
|
|
directory_DATA = font-method.directory
|
2002-12-01 15:22:27 +00:00
|
|
|
|
2004-02-16 17:32:53 +00:00
|
|
|
schemasdir = $(GCONF_SCHEMA_FILE_DIR)
|
2003-01-09 14:56:40 +00:00
|
|
|
schemas_DATA = fontilus.schemas
|
|
|
|
|
2004-11-01 11:39:28 +00:00
|
|
|
desktopdir = $(datadir)/applications
|
|
|
|
desktop_in_files = gnome-font-viewer.desktop.in
|
|
|
|
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
|
|
|
|
|
2004-12-10 09:51:25 +00:00
|
|
|
install-data-local: install-gconf-schemas install-desktop-database
|
|
|
|
|
2004-02-16 17:32:53 +00:00
|
|
|
if GCONF_SCHEMAS_INSTALL
|
2004-12-10 09:51:25 +00:00
|
|
|
install-gconf-schemas:
|
2003-01-09 14:56:40 +00:00
|
|
|
if test -z "$(DESTDIR)"; then \
|
2004-11-28 08:14:05 +00:00
|
|
|
GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule fontilus.schemas; \
|
2003-01-09 14:56:40 +00:00
|
|
|
fi
|
2004-02-16 17:32:53 +00:00
|
|
|
else
|
2004-12-10 09:51:25 +00:00
|
|
|
install-gconf-schemas:
|
2004-02-16 17:32:53 +00:00
|
|
|
endif
|
2003-01-09 14:56:40 +00:00
|
|
|
|
2004-12-10 09:56:03 +00:00
|
|
|
install-desktop-database: install-desktopDATA
|
2004-12-10 09:51:25 +00:00
|
|
|
update-desktop-database $(DESTDIR)$(desktopdir)
|
|
|
|
|
2004-12-20 21:53:31 +00:00
|
|
|
uninstall-local:
|
|
|
|
rm -f $(DESTDIR)$(desktopdir)/mimeinfo.cache
|
|
|
|
|
2004-11-27 13:13:25 +00:00
|
|
|
@INTLTOOL_DESKTOP_RULE@
|
2003-02-02 15:06:29 +00:00
|
|
|
@INTLTOOL_DIRECTORY_RULE@
|
2003-01-09 14:56:40 +00:00
|
|
|
@INTLTOOL_SCHEMAS_RULE@
|
|
|
|
|
2004-11-28 08:14:05 +00:00
|
|
|
CLEANFILES = $(desktop_in_files) $(desktop_DATA) \
|
2006-04-05 05:48:28 +00:00
|
|
|
$(schemas_DATA) $(directory_DATA)
|
2004-11-28 08:14:05 +00:00
|
|
|
|
2002-12-01 13:59:26 +00:00
|
|
|
EXTRA_DIST = \
|
2002-12-01 15:07:36 +00:00
|
|
|
font-method.conf \
|
2002-12-24 07:32:17 +00:00
|
|
|
font-method.directory.in \
|
2004-11-01 11:39:28 +00:00
|
|
|
fontilus.schemas.in \
|
2004-11-28 08:14:05 +00:00
|
|
|
gnome-font-viewer.desktop.in.in
|