diff --git a/src/gui/curses/Makefile.am b/src/gui/curses/Makefile.am index 9a98808e1..2823d879a 100644 --- a/src/gui/curses/Makefile.am +++ b/src/gui/curses/Makefile.am @@ -15,6 +15,8 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" + bin_PROGRAMS = weechat-curses weechat_curses_LDADD = ../../common/lib_weechat_main.a \ diff --git a/src/gui/gtk/Makefile.am b/src/gui/gtk/Makefile.am index c525a6764..1f7d6aff5 100644 --- a/src/gui/gtk/Makefile.am +++ b/src/gui/gtk/Makefile.am @@ -15,9 +15,9 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -bin_PROGRAMS = weechat-gtk +INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" $(GTK_CFLAGS) -INCLUDES = $(GTK_CFLAGS) +bin_PROGRAMS = weechat-gtk weechat_gtk_LDADD = ../../common/lib_weechat_main.a \ ../../irc/lib_weechat_irc.a \ diff --git a/src/irc/Makefile.am b/src/irc/Makefile.am index ca78a810a..8bdc84cd8 100644 --- a/src/irc/Makefile.am +++ b/src/irc/Makefile.am @@ -15,6 +15,8 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" + noinst_LIBRARIES = lib_weechat_irc.a lib_weechat_irc_a_SOURCES = irc.h \ diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am index f5b301f28..85740781c 100644 --- a/src/plugins/Makefile.am +++ b/src/plugins/Makefile.am @@ -15,6 +15,8 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" + if PLUGIN_PERL perl_dir = perl endif diff --git a/src/plugins/perl/Makefile.am b/src/plugins/perl/Makefile.am index 0692b2536..74fe2b80a 100644 --- a/src/plugins/perl/Makefile.am +++ b/src/plugins/perl/Makefile.am @@ -15,7 +15,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -INCLUDES = $(PERL_CFLAGS) +INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" $(PERL_CFLAGS) noinst_LIBRARIES = lib_weechat_perl.a diff --git a/weechat/src/gui/curses/Makefile.am b/weechat/src/gui/curses/Makefile.am index 9a98808e1..2823d879a 100644 --- a/weechat/src/gui/curses/Makefile.am +++ b/weechat/src/gui/curses/Makefile.am @@ -15,6 +15,8 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" + bin_PROGRAMS = weechat-curses weechat_curses_LDADD = ../../common/lib_weechat_main.a \ diff --git a/weechat/src/gui/gtk/Makefile.am b/weechat/src/gui/gtk/Makefile.am index c525a6764..1f7d6aff5 100644 --- a/weechat/src/gui/gtk/Makefile.am +++ b/weechat/src/gui/gtk/Makefile.am @@ -15,9 +15,9 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -bin_PROGRAMS = weechat-gtk +INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" $(GTK_CFLAGS) -INCLUDES = $(GTK_CFLAGS) +bin_PROGRAMS = weechat-gtk weechat_gtk_LDADD = ../../common/lib_weechat_main.a \ ../../irc/lib_weechat_irc.a \ diff --git a/weechat/src/irc/Makefile.am b/weechat/src/irc/Makefile.am index ca78a810a..8bdc84cd8 100644 --- a/weechat/src/irc/Makefile.am +++ b/weechat/src/irc/Makefile.am @@ -15,6 +15,8 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" + noinst_LIBRARIES = lib_weechat_irc.a lib_weechat_irc_a_SOURCES = irc.h \ diff --git a/weechat/src/plugins/Makefile.am b/weechat/src/plugins/Makefile.am index f5b301f28..85740781c 100644 --- a/weechat/src/plugins/Makefile.am +++ b/weechat/src/plugins/Makefile.am @@ -15,6 +15,8 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # +INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" + if PLUGIN_PERL perl_dir = perl endif diff --git a/weechat/src/plugins/perl/Makefile.am b/weechat/src/plugins/perl/Makefile.am index 0692b2536..74fe2b80a 100644 --- a/weechat/src/plugins/perl/Makefile.am +++ b/weechat/src/plugins/perl/Makefile.am @@ -15,7 +15,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -INCLUDES = $(PERL_CFLAGS) +INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\" $(PERL_CFLAGS) noinst_LIBRARIES = lib_weechat_perl.a