some makefile changes
This commit is contained in:
parent
1abf43c039
commit
627140fc04
2 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
|
||||
INCLUDES = $(FONT_METHOD_CFLAGS) $(THUMBNAILER_CFLAGS)
|
||||
INCLUDES = $(FONT_METHOD_CFLAGS) $(THUMBNAILER_CFLAGS) \
|
||||
-DDIRECTORY_DIR=\"$(vfsdirectorydir)\"
|
||||
|
||||
vfsmoduledir = $(libdir)/gnome-vfs-2.0/modules
|
||||
vfsmodule_LTLIBRARIES = libfont-method.la
|
||||
|
@ -13,6 +14,9 @@ libfont_method_la_SOURCES = font-method.c
|
|||
vfsmoduleconfdir = $(sysconfdir)/gnome-vfs-2.0/modules
|
||||
vfsmoduleconf_DATA = font-method.conf
|
||||
|
||||
vfsdirectorydir = $(datadir)/gnome/vfolders
|
||||
vfsdirectory_DATA = font-method.directory
|
||||
|
||||
thumbnailer_LDADD = $(THUMBNAILER_LIBS)
|
||||
thumbnailer_SOURCES = ftstream-vfs.c thumbnailer.c
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include <libgnomevfs/gnome-vfs-cancellable-ops.h>
|
||||
#include <libgnomevfs/gnome-vfs-module.h>
|
||||
|
||||
#define FONT_METHOD_DIRECTORY "/home/james/cvs/gnome2/fontilus/src/font-method.directory"
|
||||
#define FONT_METHOD_DIRECTORY DIRECTORY_DIR "/font-method.directory"
|
||||
|
||||
/* this is from gnome-vfs-monitor-private.h */
|
||||
void gnome_vfs_monitor_callback (GnomeVFSMethodHandle *method_handle,
|
||||
|
|
Loading…
Add table
Reference in a new issue