summaryrefslogtreecommitdiff
path: root/sendto/plugins/caja-burn
diff options
context:
space:
mode:
Diffstat (limited to 'sendto/plugins/caja-burn')
-rw-r--r--sendto/plugins/caja-burn/Makefile.am35
-rw-r--r--sendto/plugins/caja-burn/caja-burn.c2
2 files changed, 24 insertions, 13 deletions
diff --git a/sendto/plugins/caja-burn/Makefile.am b/sendto/plugins/caja-burn/Makefile.am
index 00f95c2..10c0a65 100644
--- a/sendto/plugins/caja-burn/Makefile.am
+++ b/sendto/plugins/caja-burn/Makefile.am
@@ -1,20 +1,31 @@
-plugindir = $(libdir)/caja-sendto/plugins
+NULL =
+
+AM_CPPFLAGS = \
+ $(DISABLE_DEPRECATED_CPPFLAGS) \
+ -DMATELOCALEDIR=\""$(datadir)/locale"\" \
+ -I$(top_builddir) \
+ -I$(top_srcdir)/sendto \
+ $(NULL)
-AM_CPPFLAGS = \
- -DDATADIR=\"$(datadir)\" \
- -DICONDIR=\"$(icondir)\" \
- -DLOCALEDIR="\"$(datadir)/locale\"" \
- -I$(top_srcdir)/sendto \
- -I$(top_builddir) \
- -I$(srcdir)/../ \
- $(SENDTO_CFLAGS) \
+AM_CFLAGS = \
$(WARN_CFLAGS) \
- $(DISABLE_DEPRECATED) \
- $(GIO_CFLAGS)
+ $(SENDTO_CFLAGS) \
+ $(NULL)
+
+plugindir = $(libdir)/caja-sendto/plugins
plugin_LTLIBRARIES = libnstburn.la
libnstburn_la_SOURCES = caja-burn.c
+libnstburn_la_CPPFLAGS = \
+ $(AM_CPPFLAGS) \
+ -DDATADIR=\"$(datadir)\" \
+ -DICONDIR=\"$(icondir)\" \
+ -I$(srcdir)/../ \
+ $(NULL)
+libnstburn_la_CFLAGS = \
+ $(AM_CFLAGS) \
+ $(GIO_CFLAGS) \
+ $(NULL)
libnstburn_la_LDFLAGS = -module -avoid-version
libnstburn_la_LIBADD = $(GIO_LIBS) $(SENDTO_LIBS) $(builddir)/../libnstcommon.la
-
diff --git a/sendto/plugins/caja-burn/caja-burn.c b/sendto/plugins/caja-burn/caja-burn.c
index 9de3534..4470dff 100644
--- a/sendto/plugins/caja-burn/caja-burn.c
+++ b/sendto/plugins/caja-burn/caja-burn.c
@@ -46,7 +46,7 @@ gboolean init (NstPlugin *plugin)
g_print ("Init caja burn plugin\n");
- bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
+ bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
it = gtk_icon_theme_get_default ();