From 77d9d421fb14f99ee4624633535a762075c2a442 Mon Sep 17 00:00:00 2001 From: TingPing Date: Mon, 9 Jun 2014 13:45:24 -0400 Subject: Partial fix for out of source builds Patch from LRN Perl's makefile needs fixed and the relative include of config.h needs removed from hexchat.h Mentioned in #1018 --- src/fe-gtk/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/fe-gtk/Makefile.am') diff --git a/src/fe-gtk/Makefile.am b/src/fe-gtk/Makefile.am index 4ce02dbc..a8f43ac5 100644 --- a/src/fe-gtk/Makefile.am +++ b/src/fe-gtk/Makefile.am @@ -31,6 +31,7 @@ hexchat_SOURCES = ascii.c banlist.c chanlist.c chanview.c custom-list.c \ maingui.c notifygui.c palette.c pixmaps.c plugin-tray.c $(plugingui_c) \ rawlog.c resources.c servlistgui.c setup.c $(iso_codes_c) \ sexy-spell-entry.c textgui.c urlgrab.c userlistgui.c xtext.c +hexchat_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_builddir)/src/common -resources.c: ../../data/hexchat.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=../../data --generate-dependencies ../../data/hexchat.gresource.xml) - $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=../../data --generate-source $< +resources.c: $(top_srcdir)/data/hexchat.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(top_srcdir)/data --generate-dependencies $(top_srcdir)/data/hexchat.gresource.xml) + $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(top_srcdir)/data --generate-source $< -- cgit 1.4.1