Ephoto: Install thumbnailer to the lib directory.

This commit is contained in:
Stephen okra Houston 2016-08-15 12:49:11 -05:00
parent e171ee1cb6
commit be7fbb3419
2 changed files with 5 additions and 3 deletions

View File

@ -8,6 +8,7 @@ ephoto_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/src/bin \
-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
-DPACKAGE_LIB_DIR=\"$(libdir)/$(PACKAGE)\" \
-Wall \
-Wextra \
-Wshadow \
@ -38,13 +39,14 @@ ephoto_SOURCES = \
ephoto_thumb.c \
ephoto_thumb_browser.c
internal_bindir = $(datadir)/$(PACKAGE)
internal_bindir = $(libdir)/$(PACKAGE)
internal_bin_PROGRAMS = ephoto_thumbnail
ephoto_thumbnail_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/src/bin \
-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
-DPACKAGE_LIB_DIR=\"$(libdir)/$(PACKAGE)\" \
-Wall \
-Wextra \
-Wshadow \

View File

@ -139,7 +139,7 @@ e_thumb_icon_begin(Evas_Object *obj)
{
Ecore_Exe *exe;
snprintf(buf, sizeof(buf), "%s/ephoto_thumbnail --nice=1", PACKAGE_DATA_DIR);
snprintf(buf, sizeof(buf), "%s/ephoto_thumbnail --nice=1", PACKAGE_LIB_DIR);
exe = ecore_exe_run(buf, NULL);
_thumbnailers_exe = eina_list_append(_thumbnailers_exe, exe);
}
@ -429,7 +429,7 @@ _e_thumb_cb_exe_event_del(void *data EINA_UNUSED, int type EINA_UNUSED, void *ev
Ecore_Exe *exe_thumb;
char buf[4096];
snprintf(buf, sizeof(buf), "%s/ephoto_thumbnail --nice=1", PACKAGE_DATA_DIR);
snprintf(buf, sizeof(buf), "%s/ephoto_thumbnail --nice=1", PACKAGE_LIB_DIR);
exe_thumb = ecore_exe_run(buf, NULL);
_thumbnailers_exe = eina_list_append(_thumbnailers_exe, exe_thumb);
}