Revision: 7017
Author: nogu.dev
Date: Sat May 7 02:03:11 2011
Log: * gtk3/pref/Makefile.am
- Define helper_defs.
- (uim_pref_gtk3_CPPFLAGS): Use top_srcdir instead of relative path
to specify include directory to avoid fail in `make distcheck'.
http://code.google.com/p/uim/source/detail?r=7017
Modified:
/trunk/gtk3/pref/Makefile.am
=======================================
--- /trunk/gtk3/pref/Makefile.am Fri Feb 11 20:09:56 2011
+++ /trunk/gtk3/pref/Makefile.am Sat May 7 02:03:11 2011
@@ -1,5 +1,8 @@
if GTK3
if PREF
+
+helper_defs = -DUIM_DATADIR=\""$(datadir)/@PACKAGE@"\"
+
bin_PROGRAMS = uim-pref-gtk3
uim_pref_gtk3_SOURCES = ../../helper/pref-gtk.c \
../../helper/pref-gtk-custom-widgets.c \
@@ -13,7 +16,7 @@
uim_pref_gtk3_LDADD += $(top_builddir)/uim/libuim-x-util.la
endif
uim_pref_gtk3_CPPFLAGS = $(helper_defs) -I$(top_srcdir) -I$(top_builddir) \
- -I../../helper
+ -I$(top_srcdir)/helper
uim_pref_gtk3_CFLAGS = @GTK3_CFLAGS@
endif
endif